configconfig.metaclass¶
-
class
ConfigVarMeta(name: str, bases, dct: Dict)[source]¶ Bases:
typeMetaclass for configuration values.
Methods:
__call__(raw_config_vars)Alias for
ConfigVar.get.__repr__()Return a string representation of the
ConfigVarMetaclass.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.rtypeattribute.
-
__repr__()[source]¶ Return a string representation of the
ConfigVarMetaclass.- Return type:
-