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

Fixing some typos and adding ability to add service account to toolki… #1375

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

gaetan-h
Copy link
Contributor

@gaetan-h gaetan-h commented Jan 17, 2025

…t group

Description

Prefix the PR title with the Jira issue number on the form [CDF-12345].

Please describe the change you have made.

Checklist

Copy link
Collaborator

@doctrino doctrino left a comment

Choose a reason for hiding this comment

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

Great with an update to support CDF as the service provider. The flow around creating the Toolkit auth group interactive needs a rewrite.

self.warn(
HighSeverityWarning(
f"The source id {source_id!r} is already used by the groups: {humanize_collection(already_used)!r}."
auth_vars = AuthVariables.from_env()
Copy link
Collaborator

Choose a reason for hiding this comment

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

This assumes that the credentials you are currently using are the ones you should use. I think this flow should be more explicit. Instead, ask first which provider you are using for creating the Toolkit group.

cognite_toolkit/_cdf_tk/commands/auth.py Outdated Show resolved Hide resolved
cognite_toolkit/_cdf_tk/commands/auth.py Outdated Show resolved Hide resolved
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