cognitedata / cognite-sdk-python

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

[CDF-22608] Add data set support for data workflows #2020

Closed VerstraeteBert closed 1 week ago

VerstraeteBert commented 1 week ago

Description

Add data set support for data workflows on both the groups API and Data Workflows API. The capability lives on the Workflow object; any operations on versions, executions, triggers, tasks belonging to or spawned by that workflow require data set access to the data set of the workflow.

Checklist:

codecov[bot] commented 1 week ago

Codecov Report

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

Project coverage is 90.44%. Comparing base (ee20915) to head (e9182dd). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2020 +/- ## ========================================== + Coverage 90.43% 90.44% +0.01% ========================================== Files 139 139 Lines 22234 22236 +2 ========================================== + Hits 20107 20112 +5 + Misses 2127 2124 -3 ``` | [Files with missing lines](https://app.codecov.io/gh/cognitedata/cognite-sdk-python/pull/2020?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/\_version.py](https://app.codecov.io/gh/cognitedata/cognite-sdk-python/pull/2020?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%> (ø)` | | | [cognite/client/data\_classes/capabilities.py](https://app.codecov.io/gh/cognitedata/cognite-sdk-python/pull/2020?src=pr&el=tree&filepath=cognite%2Fclient%2Fdata_classes%2Fcapabilities.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cognitedata#diff-Y29nbml0ZS9jbGllbnQvZGF0YV9jbGFzc2VzL2NhcGFiaWxpdGllcy5weQ==) | `97.29% <100.00%> (+<0.01%)` | :arrow_up: | | [cognite/client/data\_classes/workflows.py](https://app.codecov.io/gh/cognitedata/cognite-sdk-python/pull/2020?src=pr&el=tree&filepath=cognite%2Fclient%2Fdata_classes%2Fworkflows.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cognitedata#diff-Y29nbml0ZS9jbGllbnQvZGF0YV9jbGFzc2VzL3dvcmtmbG93cy5weQ==) | `95.58% <100.00%> (+<0.01%)` | :arrow_up: | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/cognitedata/cognite-sdk-python/pull/2020/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cognitedata)