Skip to content

🐛 Fix SQLAlchemy type handling in Field - #2095

Merged
tiangolo merged 1 commit into
mainfrom
codex/fix-sa-type-annotations
Sep 21, 2026
Merged

tiangolo merged 1 commit into
mainfrom
codex/fix-sa-type-annotations

Conversation

@tiangolo

@tiangolo tiangolo commented Sep 21, 2026

Copy link
Copy Markdown
Member

🐛 Fix SQLAlchemy type handling in Field

Supersedes #1345. That PR correctly identified the runtime/type-annotation mismatch. This implementation preserves its core fix while narrowing sa_type to SQLAlchemy type classes and instances, rather than the broader positional Column argument type.

AI Disclaimer

Made with the help of AI, using Codex with gpt-6-astra, manually reviewed.

@tiangolo tiangolo added the bug Something isn't working label Sep 21, 2026
@tiangolo
tiangolo marked this pull request as ready for review September 21, 2026 15:18
@tiangolo
tiangolo merged commit 01960be into main Sep 21, 2026
28 checks passed
@tiangolo
tiangolo deleted the codex/fix-sa-type-annotations branch September 21, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant