We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18b0b79 commit 858accfCopy full SHA for 858accf
mp_api/client/core/client.py
@@ -660,9 +660,7 @@ def _submit_requests( # noqa
660
661
except MPRestError as e:
662
# 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
- ):
+ if any(trace in str(e) for trace in ("422", "414", "Got 0 results")):
666
total_data = {"data": []} # type: dict
667
total_num_docs = 0
668
data_chunks = []
0 commit comments