CODEFOSSIL · flask
Config
class in src/flask/config.py:50 · Born 2010-05-18 (DERIVED, confidence 0.90)
Copied here from flask.py; its history is followed back to where it was born.
Changed drop support for Python 3.8
1d610e4· David LordChanged address mypy strict findings
6000e80· David LordChanged Allow for PathLike types for config file variables
2abb751· pgjonesChanged add __future__ annotations
44ffe6c· David LordChanged add text parameter to config.from_file
b10b6d4· AntoineMathChanged Fix misrendered docstring
746455d· Thomas Rhines fix · INFERREDChanged more from_prefixed_env features
4eb5e94· David LordChanged Allow loading of environment variables into the config
08a283a· pgjonesChanged remove deprecated config.from_json
2bd7aed· David LordChanged document return value for config loading methods
e18ed45· Karuna TataChanged re-add deprecated Config.from_json method
10425fb· David LordChanged Add initial type hints
7723709· pgjonesChanged f-strings everywhere
2ae740d· David LordChanged apply pyupgrade
524fd0b· David LordChanged remove _compat module
662c245· David LordChanged remove deprecated code
1263d3b· David LordChanged Update deprecated for config.from_json
e047dd6· Shanavas MChanged Update `versionadded` for `Config.from_file`
1feb69d· Jochen KupperschmidtChanged clean up config.from_file docs
aac0f58· David LordChanged Support loading configuration from text files
829aa65· pgjonesChanged Reformat with black
025589e· David BaumgoldChanged document that Config.from_object uses object as-is
830c77c· Douglas ThorChanged silence ENOTDIR when loading config file
06f96df· David LordChanged Fix config.from_pyfile on Python 3 (#2123)
789715a· Markus Unterwaditzer fix · INFERREDChanged improved documentation for config.from_object (#1870)
d88c08e· Jason BrazealChanged s/1.0/0.11/ in versionadded/versionchanged markers
c5900a1· ThiefMasterChanged Fix typo
6d0bbd6· lord63Changed importlib deprecated in 3.5.
2de525c· Matthias BussonnierChanged docs: ``True``, ``False`` and ``None``
8284217· defuzChanged Update config.py
bbd9c2f· Bryan StittChanged Update config.py
56a7e83· Bryan StittChanged Base from_json on from_mapping
486c108· Daniel NeuhäuserChanged Add Config.from_mapping
aa40b17· Daniel NeuhäuserChanged Add Config.get_namespace to CHANGES
06857c9· Daniel NeuhäuserChanged Fix Python 3 compat issue in Config.get_namespace
ba80e1e· Daniel Neuhäuser fix · INFERREDChanged Add Config.from_json to changelog
9741129· Daniel NeuhäuserChanged Add `get_namespace` method on `Config` object for convenient access of namespaced config options.
90a50f8· Matt WrightChanged Add ability to config from a JSON file
b290bf4· Matt WrightChanged Ensure that config file is closed immediately
43b6d0a· Daniel NeuhäuserChanged ported some more stuff to py 3.3
e1d356f· Thomas WaldmannChanged automated change using python-modernize: replace execfile
b52b7b1· Thomas WaldmannChanged automated change using python-modernize: use 'as' in except
6caaa8a· Thomas WaldmannChanged Fixed silent keyword arg to config.from_envvar.
76773e1· Dave Shawley fix · INFERREDChanged Touch up docs according to user feedback.
ea77d5e· Ron DuPlainChanged Improved botched docstring wording for silent failure.
6758179· Aaron KavlieChanged Improved botched docstring wording for silent failure.
1a7f579· Aaron KavlieChanged Documented some changes in config handling.
34a4947· Armin RonacherChanged silent option added to 'from_pyfile' to mirror 'from_envvar'.
5cc40f4· Aaron KavlieChanged Updated from_pyfile so its dynamic module creation uses the imp module instead of type.
405c299· Jeff WeberChanged Improved error message for configuration files
778e44e· Armin RonacherMoved here in with the new. i have the bits in places where i think they should be, now i just need to work on the import scheme layout
d0dc89e· Justin QuickBorn Improved configuration support.
c4cac0a· Armin Ronacher