TechnoteToml#
- class technote.sources.tomlsettings.TechnoteToml(**data)#
Bases:
BaseModelA model of a
technote.tomlconfiguration file.- Parameters:
data (
Any)
Attributes Summary
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].Methods Summary
parse_toml(content)Load a
technote.tomlfile from the project directory.Attributes Documentation
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].
Methods Documentation
- classmethod parse_toml(content)#
Load a
technote.tomlfile from the project directory.- Parameters:
content (
str) – The string content of atechnote.tomlfile.- Returns:
The parsed
TechnoteToml.- Return type: