cognitedata / cognite-sdk-python

Cognite Python SDK
https://cognite-sdk-python.readthedocs-hosted.com/
Apache License 2.0
79 stars 27 forks source link

fix: datapoints raises IndexError #2014

Closed haakonvt closed 2 weeks ago

haakonvt commented 2 weeks ago

Seems like we are never fully able to get rid of this one 😂 But I do believe this is the final nail in the coffin (jinxed)!

https://cognitedata.atlassian.net/browse/DM-2320

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.33%. Comparing base (4874080) to head (8e85731). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2014 +/- ## ========================================== + Coverage 90.29% 90.33% +0.04% ========================================== Files 139 139 Lines 21885 21885 ========================================== + Hits 19760 19770 +10 + Misses 2125 2115 -10 ``` | [Files with missing lines](https://app.codecov.io/gh/cognitedata/cognite-sdk-python/pull/2014?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cognitedata) | Coverage Δ | | |---|---|---| | [cognite/client/\_api/datapoints.py](https://app.codecov.io/gh/cognitedata/cognite-sdk-python/pull/2014?src=pr&el=tree&filepath=cognite%2Fclient%2F_api%2Fdatapoints.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cognitedata#diff-Y29nbml0ZS9jbGllbnQvX2FwaS9kYXRhcG9pbnRzLnB5) | `98.37% <100.00%> (+0.16%)` | :arrow_up: | | [cognite/client/\_api/time\_series.py](https://app.codecov.io/gh/cognitedata/cognite-sdk-python/pull/2014?src=pr&el=tree&filepath=cognite%2Fclient%2F_api%2Ftime_series.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cognitedata#diff-Y29nbml0ZS9jbGllbnQvX2FwaS90aW1lX3Nlcmllcy5weQ==) | `100.00% <ø> (ø)` | | | [cognite/client/\_version.py](https://app.codecov.io/gh/cognitedata/cognite-sdk-python/pull/2014?src=pr&el=tree&filepath=cognite%2Fclient%2F_version.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cognitedata#diff-Y29nbml0ZS9jbGllbnQvX3ZlcnNpb24ucHk=) | `100.00% <100.00%> (ø)` | | ... and [5 files with indirect coverage changes](https://app.codecov.io/gh/cognitedata/cognite-sdk-python/pull/2014/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cognitedata)