FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(main): allow bool type in Field exclude parameter type annotations by amir-rezaei · Pull Request #2055 · fastapi/sqlmodel · GitHub

Repository navigation

fix(main): allow bool type in Field exclude parameter type annotations - #2055

Closed
amir-rezaei wants to merge 1 commit into
fastapi:mainfrom
amir-rezaei:fix/field-exclude-bool-type-annotation
Closed

amir-rezaei wants to merge 1 commit into
fastapi:mainfrom
amir-rezaei:fix/field-exclude-bool-type-annotation

Conversation

Copy link
Copy Markdown

Description

This PR allows bool in the type hints for the exclude parameter of Field() overloads in sqlmodel/main.py.

Details

  • Fixes type checker warnings (mypy/pyright) when using Field(exclude=True).

Copy link
Copy Markdown
Member

Thanks, but we already have #1724

YuriiMotov closed this Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL