ConfigRoot¶
- class documenteer.conf._toml.ConfigRoot(**data)¶
Bases:
BaseModelThe root model for a documenteer.toml configuration file.
- Parameters:
data (
Any)
Attributes Summary
A dictionary of computed field names and their corresponding
ComputedFieldInfoobjects.Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].Metadata about the fields defined on the model, mapping of field names to [
FieldInfo][pydantic.fields.FieldInfo] objects.Attributes Documentation
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding
ComputedFieldInfoobjects.
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[Dict[str, FieldInfo]] = {'project': FieldInfo(annotation=ProjectModel, required=True), 'sphinx': FieldInfo(annotation=Union[SphinxModel, NoneType], required=False, default=None)}¶
Metadata about the fields defined on the model, mapping of field names to [
FieldInfo][pydantic.fields.FieldInfo] objects.This replaces
Model.__fields__from Pydantic V1.