Skip to content

[CDF-24214] 🪲 Transformation without Scope #1493

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

Closed
wants to merge 3 commits into from

Conversation

doctrino
Copy link
Collaborator

@doctrino doctrino commented Mar 3, 2025

Description

Please describe the change you have made.

Changelog

  • Patch
  • Minor
  • Skip

cdf

Fixed

  • Allow to deploy transformations with Auth without scope.

templates

No changes.

@doctrino doctrino force-pushed the scopeless-transformation branch from e7bde51 to 386f92c Compare March 26, 2025 18:17
@doctrino doctrino force-pushed the scopeless-transformation branch from 7443281 to 3a8e810 Compare March 26, 2025 18:22
@doctrino doctrino force-pushed the scopeless-transformation branch from 824eaa1 to e3bfa5b Compare March 26, 2025 18:55
@@ -347,7 +347,7 @@ def __iter__(self) -> Iterator[tuple[list[Hashable], CogniteResourceList | None,
count = self.client.data_modeling.instances.aggregate(
self.identifier, dm.aggregations.Count("externalId"), instance_type="node"
).value
if count == 0:
if count == 0 or count is None:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrade lead ruff to catch this

@doctrino
Copy link
Collaborator Author

Replaced by #1565

@doctrino doctrino closed this May 13, 2025
@doctrino doctrino deleted the scopeless-transformation branch May 13, 2025 13:38
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