cognitedata / cognite-sdk-python

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

Add partitions param to `retrieve_dataframe()` of `RawRowsAPI` #1822

Closed ddonukis closed 2 months ago

ddonukis commented 2 months ago

Description

Support partitions param in retrieve_dataframe to allow for parallelized rows retrieval.

Checklist:

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 92.66%. Comparing base (13b10e7) to head (8d756f7).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1822 +/- ## ========================================== - Coverage 92.68% 92.66% -0.02% ========================================== Files 121 121 Lines 17950 17950 ========================================== - Hits 16637 16634 -3 - Misses 1313 1316 +3 ``` | [Files](https://app.codecov.io/gh/cognitedata/cognite-sdk-python/pull/1822?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/raw.py](https://app.codecov.io/gh/cognitedata/cognite-sdk-python/pull/1822?src=pr&el=tree&filepath=cognite%2Fclient%2F_api%2Fraw.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cognitedata#diff-Y29nbml0ZS9jbGllbnQvX2FwaS9yYXcucHk=) | `88.18% <100.00%> (-0.85%)` | :arrow_down: | | [cognite/client/\_version.py](https://app.codecov.io/gh/cognitedata/cognite-sdk-python/pull/1822?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 [1 file with indirect coverage changes](https://app.codecov.io/gh/cognitedata/cognite-sdk-python/pull/1822/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cognitedata)