You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the config loading mechanism relies on a custom class (Config) and manual parsing of a YAML file.
Suggested Enhancement
The suggestion is to explore using a Pydantic model for loading and managing the configuration. Pydantic provides static typing and validation, which can enhance code clarity, maintainability, and reduce the likelihood of runtime errors.
Enhancement Proposal
Current Implementation
Currently, the config loading mechanism relies on a custom class (Config) and manual parsing of a YAML file.
Suggested Enhancement
The suggestion is to explore using a Pydantic model for loading and managing the configuration. Pydantic provides static typing and validation, which can enhance code clarity, maintainability, and reduce the likelihood of runtime errors.
Originally posted by @sed-i in #63 (comment)
The text was updated successfully, but these errors were encountered: