You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
877 B
32 lines
877 B
1 year ago
|
from __future__ import annotations
|
||
|
|
||
|
from dynaconf.base import LazySettings # noqa
|
||
|
from dynaconf.constants import DEFAULT_SETTINGS_FILES
|
||
|
from dynaconf.contrib import DjangoDynaconf # noqa
|
||
|
from dynaconf.contrib import FlaskDynaconf # noqa
|
||
|
from dynaconf.validator import ValidationError # noqa
|
||
|
from dynaconf.validator import Validator # noqa
|
||
|
|
||
|
settings = LazySettings(
|
||
|
# This global `settings` is deprecated from v3.0.0+
|
||
|
# kept here for backwards compatibility
|
||
|
# To Be Removed in 4.0.x
|
||
|
warn_dynaconf_global_settings=True,
|
||
|
environments=True,
|
||
|
lowercase_read=False,
|
||
|
load_dotenv=True,
|
||
|
default_settings_paths=DEFAULT_SETTINGS_FILES,
|
||
|
)
|
||
|
|
||
|
# This is the new recommended base class alias
|
||
|
Dynaconf = LazySettings # noqa
|
||
|
|
||
|
__all__ = [
|
||
|
"Dynaconf",
|
||
|
"LazySettings",
|
||
|
"Validator",
|
||
|
"FlaskDynaconf",
|
||
|
"ValidationError",
|
||
|
"DjangoDynaconf",
|
||
|
]
|