Skip to content

Investigate using Pydantic models #9

Description

@multimeric

In theory we could replace all the TypedDict with pydantic models.

Advantages:

  • Could implement advanced validation like regex etc
  • Could have low level models for things like ranges

Disadvantages:

  • More dependencies, so larger installation
  • Much more verbose queries. You would now have to import the appropriate models instead of just using built-in Python constructs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions