Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lekkimworld
Copy link

I would like to run the tojota library where reading from a config file is not feasible but reading from environment variables are so I made small changes to tojota.py so config is attempted read from environment if reading a key doesn't return a value.

@uro
Copy link

uro commented Jan 2, 2022

In such case, I would totally move it from JSON config to .env file

@lekkimworld
Copy link
Author

But that's also what the PR does. It reads config from the environment (or an .env file) and falls back to the json config if not found there. I also highly prefer a file that's not checked in.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants