-
Notifications
You must be signed in to change notification settings - Fork 6
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
Checking credentials only when needed #9
Conversation
One more change added: I removed the warning "No default credentials provided." because
Note that there will still be a log message
when connecting as anonymous user, which is sufficient for a normal user. |
Sounds good, that was more the point of the message anyway! I think I might implement a way to use different credentials on the dev manager instance for example, hence the whole 'default'-and-such terminology. |
Working on the ixmp4-pyam integration, I noticed that ixmp4 immediately (tries to) connect to the IIASA-ScSe-Manager, resulting in a log output like
This can be confusing to pyam-only-users, so this PR changes the order so that the credentials are only loaded when needed.