René's URL Explorer Experiment


Title: 🐛 Fix pyright errors in type annotations and `select()` overloads by estarfoo · Pull Request #1820 · fastapi/sqlmodel · GitHub

Open Graph Title: 🐛 Fix pyright errors in type annotations and `select()` overloads by estarfoo · Pull Request #1820 · fastapi/sqlmodel

X Title: 🐛 Fix pyright errors in type annotations and `select()` overloads by estarfoo · Pull Request #1820 · fastapi/sqlmodel

Description: SQL databases in Python, designed for simplicity, compatibility, and robustness. - 🐛 Fix pyright errors in type annotations and `select()` overloads by estarfoo · Pull Request #1820 · fastapi/sqlmodel

Open Graph Description: This PR fixes three sources of pyright diagnostics for users of the library: select() overloads: replace __-prefix positional-only convention with explicit / syntax (PEP 570, since Python 3.8), re...

X Description: This PR fixes three sources of pyright diagnostics for users of the library: select() overloads: replace __-prefix positional-only convention with explicit / syntax (PEP 570, since Python 3.8), re...

Opengraph URL: https://github.com/fastapi/sqlmodel/pull/1820

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:56bf2c1c-5b3d-84a3-23ea-88d74cbe5d70
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE0D2:5A439:3E077:51284:6AFE2E5F
html-safe-nonce61abe45cdd6bdc46e164a8dd319664cee72ff15c8f6a8d286cf9ed047071db5b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEQyOjVBNDM5OjNFMDc3OjUxMjg0OjZBRkUyRTVGIiwidmlzaXRvcl9pZCI6Ijg1OTA0Njk5ODcyMzgyOTMwODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac66dd4c9fb643fce02a8e43b0805d5152cd02d7abda45498933e7c07e04c32dda
hovercard-subject-tagpull_request:3415099222
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/fastapi/sqlmodel/1820/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fe1428c9fcaa94a60ee4c173d05995aea0633da78c8ea8025ab255cf73112e3c/fastapi/sqlmodel/pull/1820
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fe1428c9fcaa94a60ee4c173d05995aea0633da78c8ea8025ab255cf73112e3c/fastapi/sqlmodel/pull/1820
og:image:altThis PR fixes three sources of pyright diagnostics for users of the library: select() overloads: replace __-prefix positional-only convention with explicit / syntax (PEP 570, since Python 3.8), re...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameestarfoo
hostnamegithub.com
expected-hostnamegithub.com
Nonee973f9ec3625f3faad8cac5c2d11a214b7ffe45f3cc563b828459b290ecaeed3
turbo-cache-controlno-cache
go-importgithub.com/fastapi/sqlmodel git https://github.com/fastapi/sqlmodel.git
octolytics-dimension-user_id156354296
octolytics-dimension-user_loginfastapi
octolytics-dimension-repository_id399495186
octolytics-dimension-repository_nwofastapi/sqlmodel
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id399495186
octolytics-dimension-repository_network_root_nwofastapi/sqlmodel
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1f92c367595b9190e0be293896078033886b1913
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/fastapi/sqlmodel/pull/1820#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F1820
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F1820
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=fastapi%2Fsqlmodel
Reloadhttps://github.com/fastapi/sqlmodel/pull/1820
Reloadhttps://github.com/fastapi/sqlmodel/pull/1820
Reloadhttps://github.com/fastapi/sqlmodel/pull/1820
fastapihttps://github.com/fastapi
sqlmodelhttps://github.com/fastapi/sqlmodel
Codehttps://github.com/fastapi/sqlmodel
Issues1 (1)https://github.com/fastapi/sqlmodel/issues
Pull requests53 (53)https://github.com/fastapi/sqlmodel/pulls
Discussionshttps://github.com/fastapi/sqlmodel/discussions
Actionshttps://github.com/fastapi/sqlmodel/actions
Projectshttps://github.com/fastapi/sqlmodel/projects
Security and qualityhttps://github.com/fastapi/sqlmodel/security
Insightshttps://github.com/fastapi/sqlmodel/insights
https://github.com/fastapi/sqlmodel
estarfoohttps://github.com/estarfoo
fastapi:mainhttps://github.com/fastapi/sqlmodel/tree/main
estarfoo:pyright-compatibilityhttps://github.com/estarfoo/sqlmodel/tree/pyright-compatibility
Conversationhttps://github.com/fastapi/sqlmodel/pull/1820
Commits3 (3)https://github.com/fastapi/sqlmodel/pull/1820/commits
Checkshttps://github.com/fastapi/sqlmodel/pull/1820/checks
Files changedhttps://github.com/fastapi/sqlmodel/pull/1820/files
🐛 Fix pyright errors in type annotations and select() overloadshttps://github.com/fastapi/sqlmodel/pull/1820#top
estarfoohttps://github.com/estarfoo
fastapi:mainhttps://github.com/fastapi/sqlmodel/tree/main
estarfoo:pyright-compatibilityhttps://github.com/estarfoo/sqlmodel/tree/pyright-compatibility
https://github.com/estarfoo
estarfoohttps://github.com/estarfoo
Mar 18, 2026https://github.com/fastapi/sqlmodel/pull/1820#issue-4095376346
PEP 570https://peps.python.org/pep-0570/
Pyright cannot recognize the type of SQLModel.__tablename__ #98https://github.com/fastapi/sqlmodel/issues/98
gisthttps://gist.github.com/estarfoo/edd6b9995435185dd574e2bde16ce304
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1820
estarfoohttps://github.com/estarfoo
March 18, 2026 13:03https://github.com/fastapi/sqlmodel/pull/1820#commits-pushed-d5d3090
https://github.com/estarfoo
https://github.com/claude
🐛 Fix select() overloads mixing positional-only parameter styleshttps://github.com/fastapi/sqlmodel/pull/1820/commits/d5d309008719fa9ec240070a2d18622404ce57bf
d5d3090https://github.com/fastapi/sqlmodel/pull/1820/commits/d5d309008719fa9ec240070a2d18622404ce57bf
https://github.com/estarfoo
https://github.com/claude
🐛 Widen sa_type annotation to accept TypeEngine instanceshttps://github.com/fastapi/sqlmodel/pull/1820/commits/c619044fa3b673e3126983f870370548bc221971
c619044https://github.com/fastapi/sqlmodel/pull/1820/commits/c619044fa3b673e3126983f870370548bc221971
https://github.com/estarfoo
https://github.com/claude
🐛 Move __tablename__ default from @declared_attr to metaclasshttps://github.com/fastapi/sqlmodel/pull/1820/commits/f738f673f0389b5f9d2d8c05d3e03c8eb9f594c8
f738f67https://github.com/fastapi/sqlmodel/pull/1820/commits/f738f673f0389b5f9d2d8c05d3e03c8eb9f594c8
fastapi#98https://github.com/fastapi/sqlmodel/issues/98
https://github.com/svlandeg
svlandeghttps://github.com/svlandeg
Mar 18, 2026 https://github.com/fastapi/sqlmodel/pull/1820#pullrequestreview-3968145945
View reviewed changes https://github.com/fastapi/sqlmodel/pull/1820/files/f738f673f0389b5f9d2d8c05d3e03c8eb9f594c8
svlandeghttps://github.com/svlandeg
https://github.com/fastapi/sqlmodel/pull/1820#pullrequestreview-3968145945
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#1806https://github.com/fastapi/sqlmodel/pull/1806
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1820
https://github.com/estarfoo
estarfoohttps://github.com/estarfoo
Mar 18, 2026https://github.com/fastapi/sqlmodel/pull/1820#issuecomment-4082880984
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1820
https://github.com/YuriiMotov
YuriiMotovhttps://github.com/YuriiMotov
Mar 18, 2026https://github.com/fastapi/sqlmodel/pull/1820#issuecomment-4082889651
#1345https://github.com/fastapi/sqlmodel/pull/1345
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1820
https://github.com/svlandeg
svlandeghttps://github.com/svlandeg
Mar 18, 2026https://github.com/fastapi/sqlmodel/pull/1820#issuecomment-4083055560
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1820
https://github.com/estarfoo
estarfoohttps://github.com/estarfoo
March 18, 2026 14:40https://github.com/fastapi/sqlmodel/pull/1820#event-23684641191
https://github.com/estarfoo
estarfoohttps://github.com/estarfoo
Mar 18, 2026https://github.com/fastapi/sqlmodel/pull/1820#issuecomment-4083067270
@svlandeghttps://github.com/svlandeg
#1806https://github.com/fastapi/sqlmodel/pull/1806
@YuriiMotovhttps://github.com/YuriiMotov
#1345https://github.com/fastapi/sqlmodel/pull/1345
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1820
https://github.com/estarfoo
estarfoohttps://github.com/estarfoo
Mar 18, 2026https://github.com/fastapi/sqlmodel/pull/1820#issuecomment-4083408025
@svlandeghttps://github.com/svlandeg
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1820
https://github.com/estarfoo
estarfoohttps://github.com/estarfoo
Mar 18, 2026https://github.com/fastapi/sqlmodel/pull/1820#event-23686339286
https://github.com/estarfoo
estarfoohttps://github.com/estarfoo
Mar 18, 2026 https://github.com/fastapi/sqlmodel/pull/1820#ref-pullrequest-4096263507
🐛 Declare __tablename__ on the metaclass (improve pyright compatibility) #1821 https://github.com/fastapi/sqlmodel/pull/1821
https://github.co/hiddenchars
https://github.com/fastapi/sqlmodel/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F1820
https://github.com/svlandeg
svlandeg https://github.com/svlandeg
https://github.com/fastapi/sqlmodel/pull/1820/files/f738f673f0389b5f9d2d8c05d3e03c8eb9f594c8
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1820
Pyright cannot recognize the type of SQLModel.__tablename__ https://github.com/fastapi/sqlmodel/issues/98
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1820
https://github.com/estarfoo
https://github.com/YuriiMotov
https://github.com/svlandeg
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.