Skip to content

Utilize Pydantic Model for Config Loading #64

@IbraAoad

Description

@IbraAoad

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions