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
Sometimes it is desirable to be able to prefix all environment variables. pydantic offers this in this manner:
class Config: env_prefix = 'my_prefix_' # defaults to no prefix, i.e. ""
Ideally, something like this can be implemented:
import environ env = environ.Env() env.prefix = "PREFIX_"
The text was updated successfully, but these errors were encountered:
Just thought about the same thing. Could be very useful for multiple apps running on the same env.
Sorry, something went wrong.
This is a feature of environs which is quite handy. https://github.com/sloria/environs#handling-prefixes
environs
Implemented in #363
sergeyklay
No branches or pull requests
Sometimes it is desirable to be able to prefix all environment variables. pydantic offers this in this manner:
Ideally, something like this can be implemented:
The text was updated successfully, but these errors were encountered: