We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We need to work out a configuration API for a key-ring, or a type of configuration object that can contain multiple variants of the same config type.
we have a class that manages credentials and/or authentication, but we need to use it to sign in as multiple users to the same systems.
cfg = get_config() a_token_creds = cfg.credentials.user_a.auth_token a_user = AuthToken(a_token_creds) a_remote = RemoteService(auth_token=a_user.string) b_token_creds = cfg.credentials.user_b.auth_token b_user = AuthToken(b_token_creds) b_remote = RemoteService(auth_token=b_user.string)
Related to: lundybernard/batconf/issues/11
The text was updated successfully, but these errors were encountered:
tomato-gits
No branches or pull requests
We need to work out a configuration API for a key-ring, or a type of configuration object that can contain multiple variants of the same config type.
Motivating Example:
we have a class that manages credentials and/or authentication, but we need to use it to sign in as multiple users to the same systems.
Example:
Related to: lundybernard/batconf/issues/11
The text was updated successfully, but these errors were encountered: