Skip to content

Consider SQLModel to consolidate Pydantic models with SQLAlchemy schemas #173

Open
@nanotaboada

Description

@nanotaboada

Description

Explore the use of SQLModel to unify SQLAlchemy schemas and Pydantic models in the FastAPI project. SQLModel simplifies data modeling by integrating both functionalities while leveraging Python type hints.

Acceptance Criteria

  • Research SQLModel’s compatibility with FastAPI and SQLAlchemy.
  • Compare SQLModel’s benefits against the current implementation.
  • Provide a proof of concept by converting one model to SQLModel.
  • If viable, propose a migration plan for the full transition.

Resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpythonPull requests that update Python code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions