Skip to content

Commit 809c978

Browse files
committed
linting
1 parent 3021362 commit 809c978

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

ingestion/v1alpha/event_import.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def import_events(http_session: requests.AuthorizedSession, proj_id: str,
5555
5656
Requires the following IAM permission on the parent resource:
5757
chronicle.events.import
58-
"""
58+
"""
5959
base_url_with_region = regions.url_always_prepend_region(
6060
CHRONICLE_API_BASE_URL, proj_region)
6161
# pylint: disable=line-too-long
@@ -91,7 +91,8 @@ def import_events(http_session: requests.AuthorizedSession, proj_id: str,
9191
"--json_events_file",
9292
type=argparse.FileType("r"),
9393
required=True,
94-
help="path to a file (or \"-\" for STDIN) containing events in JSON format"
94+
help="path to a file (or \"-\" for STDIN) containing events in JSON "
95+
"format"
9596
)
9697

9798
args = parser.parse_args()

ingestion/v1alpha/events_batch_get.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,20 @@ def batch_get_events(
4747
) -> None:
4848
"""Batch get events from Chronicle using the Events BatchGet API.
4949
50-
Args:
51-
http_session: Authorized session for HTTP requests.
52-
proj_id: GCP project id or number to which the target instance belongs.
53-
proj_instance: Customer ID (uuid with dashes) for the Chronicle instance.
54-
proj_region: region in which the target project is located.
55-
event_ids: JSON string containing a list of event IDs to retrieve.
56-
57-
Raises:
58-
requests.exceptions.HTTPError: HTTP request resulted in an error
59-
(response.status_code >= 400).
60-
61-
Requires the following IAM permission on the parent resource:
62-
chronicle.events.batchGet
63-
"""
50+
Args:
51+
http_session: Authorized session for HTTP requests.
52+
proj_id: GCP project id or number to which the target instance belongs.
53+
proj_instance: Customer ID (uuid w/ dashes) for the Chronicle instance.
54+
proj_region: region in which the target project is located.
55+
event_ids: JSON string containing a list of event IDs to retrieve.
56+
57+
Raises:
58+
requests.exceptions.HTTPError: HTTP request resulted in an error
59+
(response.status_code >= 400).
60+
61+
Requires the following IAM permission on the parent resource:
62+
chronicle.events.batchGet
63+
"""
6464
base_url_with_region = regions.url_always_prepend_region(
6565
CHRONICLE_API_BASE_URL, proj_region)
6666
# pylint: disable=line-too-long

0 commit comments

Comments
 (0)