mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-09-20 18:51:15 +00:00
Documentation: Support nested config
* Add examples to pydantic models.
This commit is contained in:
@@ -63,10 +63,13 @@ def get_absolute_path(
|
||||
|
||||
|
||||
class ConfigCommonSettings(SettingsBaseModel):
|
||||
"""Settings for common configuration."""
|
||||
"""Settings for common configuration.
|
||||
|
||||
General configuration to set directories of cache and output files.
|
||||
"""
|
||||
|
||||
data_folder_path: Optional[Path] = Field(
|
||||
default=None, description="Path to EOS data directory."
|
||||
default=None, description="Path to EOS data directory.", examples=[None, "/home/eos/data"]
|
||||
)
|
||||
|
||||
data_output_subpath: Optional[Path] = Field(
|
||||
|
Reference in New Issue
Block a user