You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use dynaconf for reading YAML files but it is not an ideal match since we also want to use existing JSON Schemas to validate.
Is seems as if this can only be done using a Validator (created using python or from toml file).
Also,
# Load your Dynaconf settingssettings: LazySettings=Dynaconf(
settings_files=[file_path], # Path to your settings fileload_dotenv=True, # Load from .env files
)
causes "LOAD_DOTENV" to be a key in settings.as_dict().items().
It's a bit inconvenient that users specified settings are mixed with DynaConf settings.
Is there a way to separate the two?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
We use dynaconf for reading YAML files but it is not an ideal match since we also want to use existing JSON Schemas to validate.
Is seems as if this can only be done using a Validator (created using python or from toml file).
Also,
causes "LOAD_DOTENV" to be a key in
settings.as_dict().items()
.It's a bit inconvenient that users specified settings are mixed with DynaConf settings.
Is there a way to separate the two?
Beta Was this translation helpful? Give feedback.
All reactions