asyncutils._internal.unparsed¶
This submodule automatically reads the config from the file whose path is specified by AUTILSCFGPATH.
Important
Values will be overwritten by command-line arguments when this module runs as a script.
Attributes¶
The contextual portion of the configuration as a flattened |
|
The frozen part of the configuration as a light namespace-like object. |
|
A |
|
The path to the config file used, or an empty string if no config file was read. |
Functions¶
|
Load a config file from the given string path or file descriptor (in which case the file extension should be passed but leniently defaults to json), from which the file extension and thus appropriate parsing library is determined. |
Module Contents¶
- asyncutils._internal.unparsed.l(path: int, ext: str, /) dict[str, Any][source]¶
- asyncutils._internal.unparsed.l(path: str, ext: str | None = ..., /) dict[str, Any]
Load a config file from the given string path or file descriptor (in which case the file extension should be passed but leniently defaults to json), from which the file extension and thus appropriate parsing library is determined.
- asyncutils._internal.unparsed.C: Final[dict[str, Any]]¶
The contextual portion of the configuration as a flattened
dictmapping upper-case keys to values.
- asyncutils._internal.unparsed.N: Final[asyncutils._internal.helpers.Bag]¶
The frozen part of the configuration as a light namespace-like object.