8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba6ab80 commit 24b9b42Copy full SHA for 24b9b42
cognite/client/_api/datapoints.py
@@ -275,7 +275,8 @@ def _get_result_with_exception_handling(
275
except CancelledError:
276
return None
277
except CogniteAPIError as e:
278
- future._exception = None # break ref cycle
+ # Break ref cycle with the exception:
279
+ future._exception = None # type: ignore [attr-defined]
280
if not (e.code == 400 and e.missing and ts_task.query.ignore_unknown_ids):
281
# TODO: We only notify the user one the first occurrence of a missing time series, and we
282
# should probably change that (add note to exception or await all ts have been checked)
0 commit comments