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

🐛 Fix type of `__sqlmodel_relationships__` by svlandeg · Pull Request #1996 · fastapi/sqlmodel · GitHub

Repository navigation

🐛 Fix type of __sqlmodel_relationships__ - #1996

Merged
svlandeg merged 2 commits into
fastapi:mainfrom
svlandeg:fix/type
Jun 6, 2026
Merged

svlandeg merged 2 commits into
fastapi:mainfrom
svlandeg:fix/type

Conversation

svlandeg commented Jun 4, 2026 •
edited
Loading

Copy link
Copy Markdown
Member

Description

Fix type of __sqlmodel_relationships__. With the current version of ty it still type checks fine, but if we want to upgrade this will become a warning/error.

This PR shows that the edit works fine for our old version of ty 0.0.35 (first commit) as well as for the new 0.0.40 (second and final commit). This came up in #1995.

AI Disclaimer

AI used for quick diagnostics.

Checklist

  • Coverage stays at 100%.

svlandeg commented Jun 4, 2026

Copy link
Copy Markdown
Member Author

I'm a little uncertain about the label here, neither "bug" or "internal" sounds exactly right.

svlandeg marked this pull request as ready for review June 4, 2026 08:54
svlandeg requested a review from YuriiMotov June 4, 2026 08:54

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

📝 Docs preview

Last commit aba325f at: https://19442360.sqlmodel.pages.dev

YuriiMotov 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

LGTM!

svlandeg changed the title 🏷️ Fix type of __sqlmodel_relationships__ 🐛 Fix type of __sqlmodel_relationships__ Jun 6, 2026
svlandeg added bug Something isn't working and removed internal Internal changes labels Jun 6, 2026
svlandeg merged commit fcb2da3 into fastapi:main Jun 6, 2026
29 checks passed
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

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL