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

allow lowercase Keys for config files #161

Closed
ergyjb opened this issue Dec 30, 2020 · 4 comments
Closed

allow lowercase Keys for config files #161

ergyjb opened this issue Dec 30, 2020 · 4 comments

Comments

@ergyjb
Copy link

ergyjb commented Dec 30, 2020

using a .ini file for the configs
'orgurl' and other keys fail to come in with the CamelCase that YAML provides.

see: https://docs.python.org/3/library/configparser.html

@arvindkrishnakumar-okta

@ergyjb Thanks for your question! Our Python SDK team will follow-up on this after the holidays.

@serhiibuniak-okta
Copy link
Contributor

Hi @ergyjb , could you please, provide more details? We use .yaml files for configuration: https://github.com/okta/okta-sdk-python#configuration-reference. If your project needs only .ini files, probably, you should convert variables to lowerCamelCase and we have such method here - https://github.com/okta/okta-sdk-python/blob/master/okta/helpers.py

@ergyjb
Copy link
Author

ergyjb commented Jan 13, 2021

No I just switched to YAML and that was better

@ergyjb ergyjb closed this as completed Jan 13, 2021
@serhiibuniak-okta
Copy link
Contributor

Glad to hear that everything is fine. Feel free to open a new issue in case of any questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants