Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚆Prepare pull rework #1284

Merged
merged 10 commits into from
Dec 11, 2024
Merged

🚆Prepare pull rework #1284

merged 10 commits into from
Dec 11, 2024

Conversation

doctrino
Copy link
Collaborator

@doctrino doctrino commented Dec 9, 2024

Description

  • Split load_resource into load_resource_file and load_resource. This is to make the load_resource available for the pull command.
  • Changed has_parent_resource (bool) to parent_resource (frosenset of loaders). This is to be able to pick up for example function schedule and notifications as well when you pull a Transformation.

Checklist

Copy link

github-actions bot commented Dec 9, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
14744 10798 73% 60% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
cognite_toolkit/_cdf_tk/commands/_base.py 90% 🟢
cognite_toolkit/_cdf_tk/commands/pull.py 83% 🟢
cognite_toolkit/_cdf_tk/loaders/_base_loaders.py 79% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/auth_loaders.py 89% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/classic_loaders.py 82% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/data_organization_loaders.py 90% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/datamodel_loaders.py 83% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/extraction_pipeline_loaders.py 73% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/file_loader.py 83% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/function_loaders.py 87% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/hosted_extractors.py 97% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/industrial_tool_loaders.py 87% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/location_loaders.py 85% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/raw_loaders.py 68% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/relationship_loader.py 87% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/three_d_model_loaders.py 83% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/timeseries_loaders.py 89% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/transformation_loaders.py 77% 🟢
cognite_toolkit/_cdf_tk/loaders/_resource_loaders/workflow_loaders.py 82% 🟢
TOTAL 84% 🟢

updated for commit: e4ceacd by action🐍

@doctrino doctrino merged commit c3d7ac0 into main Dec 11, 2024
10 checks passed
@doctrino doctrino deleted the prepare-rework-pull branch December 11, 2024 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants