pyfileconf.data.models package¶
Submodules¶
pyfileconf.data.models.astitems module¶
pyfileconf.data.models.collection module¶
pyfileconf.data.models.config module¶
-
class
pyfileconf.data.models.config.
SpecificClassConfig
(d=None, name=None, annotations=None, imports=None, _file=None, begin_assignments=None, always_import_strs=None, always_assign_strs=None, klass=None, file_path=None, **kwargs)[source]¶
pyfileconf.data.models.dictconfig module¶
-
class
pyfileconf.data.models.dictconfig.
SpecificClassDictConfig
(d=None, name=None, annotations=None, imports=None, _file=None, begin_assignments=None, klass=None, always_import_strs=None, always_assign_strs=None, **kwargs)[source]¶ Bases:
pyfileconf.basemodels.config.ConfigBase
-
as_imports_and_assignments
()[source]¶ - Return type
Tuple
[ImportStatementContainer
,AssignmentStatementContainer
]
-
config_file_class
¶ alias of
pyfileconf.data.models.dictfile.SpecificClassDictFile
-
pyfileconf.data.models.dictfile module¶
pyfileconf.data.models.file module¶
-
class
pyfileconf.data.models.file.
SpecificClassConfigFile
(filepath, name=None, klass=None, always_import_strs=None, always_assign_strs=None)[source]¶ Bases:
pyfileconf.basemodels.file.ConfigFileBase
-
__init__
(filepath, name=None, klass=None, always_import_strs=None, always_assign_strs=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
always_assigns
: List[pyfileconf.assignments.models.statement.AssignmentStatement] = [mixins.repr.ReprMixin]¶
-
always_imports
: List[Union[pyfileconf.imports.models.statements.module.ModuleImportStatement, pyfileconf.imports.models.statements.obj.ObjectImportStatement]] = [mixins.attrequals.EqOnAttrsMixin]¶
-