Skip to content

Commit 53a9058

Browse files
committed
Fix formatting errors with poetry run black
1 parent 2d938c3 commit 53a9058

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

example/example_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def example_bulk_export():
107107

108108

109109
def example_bulk_service():
110-
raw_query = '+"window.onload=function(){ url =\'/webui\';window.location.href=url;}" +port:443'
110+
raw_query = "+\"window.onload=function(){ url ='/webui';window.location.href=url;}\" +port:443"
111111
query = RawQuery(raw_query)
112112
response = CLIENT.bulk_service([query])
113113
print(response.json())

executable/cli.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@ def bulk_export_to_json(
2727
queries = []
2828
queries.append(RawQuery(query))
2929
if before is not None:
30-
before_dt_field = UpdateDateField(before_dt, operator=Operator.StrictlyGreater)
30+
before_dt_field = UpdateDateField(
31+
before_dt, operator=Operator.StrictlyGreater
32+
)
3133
queries.append(MustQuery(before_dt_field))
3234
if after is not None:
33-
after_dt_field = UpdateDateField(after_dt, operator=Operator.StrictlySmaller)
35+
after_dt_field = UpdateDateField(
36+
after_dt, operator=Operator.StrictlySmaller
37+
)
3438
queries.append(MustQuery(after_dt_field))
3539
response = client.bulk_export(queries)
3640
if response.is_success():

0 commit comments

Comments
 (0)