Skip to content

Commit 858accf

Browse files
committed
formatting
1 parent 18b0b79 commit 858accf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mp_api/client/core/client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -660,9 +660,7 @@ def _submit_requests( # noqa
660660

661661
except MPRestError as e:
662662
# If we get 422 or 414 error, or 0 results for comma-separated params, split into batches
663-
if any(
664-
trace in str(e) for trace in ("422", "414", "Got 0 results")
665-
):
663+
if any(trace in str(e) for trace in ("422", "414", "Got 0 results")):
666664
total_data = {"data": []} # type: dict
667665
total_num_docs = 0
668666
data_chunks = []

0 commit comments

Comments
 (0)