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

#103 Enabled SaaS connections #104

Merged
merged 5 commits into from
May 23, 2024
Merged

#103 Enabled SaaS connections #104

merged 5 commits into from
May 23, 2024

Conversation

ahsimb
Copy link
Collaborator

@ahsimb ahsimb commented May 23, 2024

closes #103

@ahsimb ahsimb added the feature Product feature label May 23, 2024
@ahsimb ahsimb self-assigned this May 23, 2024
exasol/nb_connector/connections.py Outdated Show resolved Hide resolved
exasol/nb_connector/connections.py Outdated Show resolved Hide resolved
Comment on lines +118 to +119
[CKey.saas_url, CKey.saas_token, CKey.saas_account_id],
[CKey.saas_database_id, CKey.saas_database_name]
Copy link
Collaborator

Choose a reason for hiding this comment

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

How about adding an explicit signal to the values?
E.g.

{"all": [CKey.saas_url, CKey.saas_token, CKey.saas_account_id]},
{"any": [CKey.saas_database_id, CKey.saas_database_name]},

In this example I used dicts, but it could also be simple lists with the first element being a simple string with the semantics to trigger the bool-func.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think it will complicate both the data structure and the explanation of what it should be. It is already more generic than it is practically needed. Currently, I've got at most one group of options. I'd rather leave it as it is.

Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

already more generic than it is practically needed

probably, yes 🙂

ahsimb and others added 2 commits May 23, 2024 14:22
Applying suggestions from the review

Co-authored-by: Christoph Kuhnke <[email protected]>
@ahsimb ahsimb merged commit c37251d into main May 23, 2024
14 checks passed
@ahsimb ahsimb deleted the feature/103-connections-to-saas branch May 23, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Product feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable connections to a SaaS database and bucketfs
2 participants