✨ Add support for `Literal` types by nsaccente · Pull Request #1439 · fastapi/sqlmodel

@nsaccente

@nsaccente changed the title Add check for Literal type annotation in get_sqlalchemy_type 🐛Add check for Literal type annotation in get_sqlalchemy_type

Jul 24, 2025

@YuriiMotov YuriiMotov changed the title 🐛Add check for Literal type annotation in get_sqlalchemy_type 🐛 Fix TypeError for fields annotated with Literal

Aug 5, 2025

YuriiMotov

@YuriiMotov YuriiMotov linked an issue

Aug 5, 2025

that may be closed by this pull request

8 tasks

@nsaccente

@pre-commit-ci

@nsaccente

@nsaccente

@pre-commit-ci

@nsaccente

…del into bugfix-57/literal-satype

@svlandeg

@svlandeg

@svlandeg

@svlandeg

@svlandeg

@pre-commit-ci-lite

svlandeg

@svlandeg

@svlandeg svlandeg marked this pull request as ready for review

January 27, 2026 12:55