Skip to content

[prep CDF-24982] 🫅 Canvas industrial API #1683

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

Draft
wants to merge 20 commits into
base: canvas-migrate-app
Choose a base branch
from

Conversation

doctrino
Copy link
Collaborator

Description

This is part of a multiple PRs for adding support migration of Canvas from asset-centric to data modeling.

This PR introduces a new dataclass and IndustrialCanvas which is a container class for a Canvas with all the subcomponent. In addition, I introduce a wrapper API for this new data class that wraps the endpoints models/instances/query and model/instances endpoints for retrieving and upserting an industrial canvas in one operation.

image

Changelog

  • Patch
  • Minor
  • Skip

Copy link

github-actions bot commented Jun 28, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
20229 15918 79% 60% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
cognite_toolkit/_cdf_tk/client/_constants.py 100% 🟢
cognite_toolkit/_cdf_tk/client/api/canvas.py 98% 🟢
cognite_toolkit/_cdf_tk/client/api/extended_data_modeling.py 90% 🟢
cognite_toolkit/_cdf_tk/client/data_classes/canvas.py 98% 🟢
cognite_toolkit/_cdf_tk/client/utils/_concurrency.py 92% 🟢
TOTAL 95% 🟢

updated for commit: b933b4e by action🐍

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.

1 participant