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

Workspace argument in set_credentials function #24

Closed
ashwinikalantri opened this issue Mar 30, 2022 · 1 comment
Closed

Workspace argument in set_credentials function #24

ashwinikalantri opened this issue Mar 30, 2022 · 1 comment
Assignees
Labels
enhancement ↔️ New feature or request
Milestone

Comments

@ashwinikalantri
Copy link

May I suggest adding a workspace argument in the set_credentials function. This will reduce the need to set workspace for every function.

I feel that most processes don't work with different workspaces at a time. And even if there is such a scenario, the set workspace can be over-ridden in the function.

@arthur-shaw
Copy link
Owner

This is a great idea! When I updated the package to accommodate workspaces, I thought about this. At the time, I thought it would be better to let users set the workspace for each call. But after "eating my own dogfood" by using my package for a few projects, I think that your recommendation is right: let users set credentials and workspace for their "default" workspace, and make changes to the workspace if they need ot touch other workspaces on their servers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ↔️ New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants