configconfig.metaclass
-
class
ConfigVarMeta
(name: str, bases, dct: Dict)[source] Bases:
type
Metaclass for configuration values.
Methods:
__call__
(raw_config_vars)Alias for
ConfigVar.get
.__repr__
()Return a string representation of the
ConfigVarMeta
class.get_schema_entry
([schema])Returns the JSON schema entry for this configuration value.
-
__call__
(raw_config_vars)[source] Alias for
ConfigVar.get
.Returns the value of the
ConfigVar
.- Parameters
raw_config_vars (
Dict
[str
,Any
]) – Dictionary to obtain the value from.- Return type
See the
ConfigVar.rtype
attribute.
-
__repr__
()[source] Return a string representation of the
ConfigVarMeta
class.- Return type
-