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

✅ Add test that runs select with 3 or 4 arguments by svlandeg · Pull Request #1590 · fastapi/sqlmodel · GitHub

Repository navigation

✅ Add test that runs select with 3 or 4 arguments - #1590

Merged
tiangolo merged 7 commits into
fastapi:mainfrom
svlandeg:feature/mypy_select
Oct 8, 2025
Merged

tiangolo merged 7 commits into
fastapi:mainfrom
svlandeg:feature/mypy_select

Conversation

svlandeg commented Oct 6, 2025 •
edited
Loading

Copy link
Copy Markdown
Member

Ensure that _expression_select_gen.py works properly and provides the right type hints for code that calls select() with 3 or 4 arguments.

Note that I already provided some code to call select with 5 arguments as well. This works and runs, but won't succeed on a mypy check, as reported before.

While I think this PR is useful on its own, it's also in preparation of #1560.

svlandeg added the internal Internal changes label Oct 6, 2025
svlandeg marked this pull request as ready for review October 6, 2025 16:09
svlandeg self-assigned this Oct 8, 2025

tiangolo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Nice, let's get this in, thank you! 🚀

tiangolo merged commit 35a652e into fastapi:main Oct 8, 2025
27 checks passed
svlandeg deleted the feature/mypy_select branch October 8, 2025 11:13
svlandeg removed their assignment Oct 8, 2025
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

internal Internal changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL