PGJones' blog · Mar 28, 2022
Loading config from the environment in Quart & Flask
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Quart 0.17.0 and Flask 2.1.0 both introduce a new method to load configuration values directly from the environment. The method, Config.from_prefixed_env will load all variables starting with a given prefix as explained in this article.
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.