Ren茅's URL Explorer Experiment


Title: 馃悰 Fix type annotation in `SQLModel.__new__`, avoid explicitly returning `Any` by carljm 路 Pull Request #1846 路 fastapi/sqlmodel 路 GitHub

Open Graph Title: 馃悰 Fix type annotation in `SQLModel.__new__`, avoid explicitly returning `Any` by carljm 路 Pull Request #1846 路 fastapi/sqlmodel

X Title: 馃悰 Fix type annotation in `SQLModel.__new__`, avoid explicitly returning `Any` by carljm 路 Pull Request #1846 路 fastapi/sqlmodel

Description: SQL databases in Python, designed for simplicity, compatibility, and robustness. - 馃悰 Fix type annotation in `SQLModel.__new__`, avoid explicitly returning `Any` by carljm 路 Pull Request #1846 路 fastapi/sqlmodel

Open Graph Description: Hello! I work on the ty type checker, and I am implementing support for the part of the typing spec regarding __new__ methods. I noticed that implementing the specification will result in a regress...

X Description: Hello! I work on the ty type checker, and I am implementing support for the part of the typing spec regarding __new__ methods. I noticed that implementing the specification will result in a regress...

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

X: @github

direct link

Domain: github.com

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:1a6656be-8a15-4102-7c8f-6261268c00a7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA12E:36F5E:A1ADE6:E37FC5:6A624C6B
html-safe-nonceb300a50111a82322f22184793fa2bc5160f6607f991013a8517179c57e076f9f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTJFOjM2RjVFOkExQURFNjpFMzdGQzU6NkE2MjRDNkIiLCJ2aXNpdG9yX2lkIjoiNjgzNDQ3MDU5MzkxODgxNTMzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7d72ed9f3d2e074e375a73e69296cc768c763b01e3a8d1ed09e962e358418cdf
hovercard-subject-tagpull_request:3484053994
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/1846/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/aad68b5c826205cc122970924b921c148bcf48388ae8d5aa89753b447e756730/fastapi/sqlmodel/pull/1846
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aad68b5c826205cc122970924b921c148bcf48388ae8d5aa89753b447e756730/fastapi/sqlmodel/pull/1846
og:image:altHello! I work on the ty type checker, and I am implementing support for the part of the typing spec regarding __new__ methods. I noticed that implementing the specification will result in a regress...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecarljm
hostnamegithub.com
expected-hostnamegithub.com
None77f5af7d0fa3843b1779a53f60ec016b3f962e46051fb05c2e9b608a8138eefb
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
released3ce7d369aae307e197872f810f80f3ed9051c78
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/fastapi/sqlmodel/pull/1846#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F1846
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F1846
Sign up https://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/1846
Reloadhttps://github.com/fastapi/sqlmodel/pull/1846
Reloadhttps://github.com/fastapi/sqlmodel/pull/1846
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1846
fastapi https://github.com/fastapi
sqlmodelhttps://github.com/fastapi/sqlmodel
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1846
Notifications https://github.com/login?return_to=%2Ffastapi%2Fsqlmodel
Fork 874 https://github.com/login?return_to=%2Ffastapi%2Fsqlmodel
Star 18.2k https://github.com/login?return_to=%2Ffastapi%2Fsqlmodel
Code https://github.com/fastapi/sqlmodel
Issues 1 https://github.com/fastapi/sqlmodel/issues
Pull requests 58 https://github.com/fastapi/sqlmodel/pulls
Discussions https://github.com/fastapi/sqlmodel/discussions
Actions https://github.com/fastapi/sqlmodel/actions
Projects https://github.com/fastapi/sqlmodel/projects
Security and quality 0 https://github.com/fastapi/sqlmodel/security
Insights https://github.com/fastapi/sqlmodel/pulse
Code https://github.com/fastapi/sqlmodel
Issues https://github.com/fastapi/sqlmodel/issues
Pull requests https://github.com/fastapi/sqlmodel/pulls
Discussions https://github.com/fastapi/sqlmodel/discussions
Actions https://github.com/fastapi/sqlmodel/actions
Projects https://github.com/fastapi/sqlmodel/projects
Security and quality https://github.com/fastapi/sqlmodel/security
Insights https://github.com/fastapi/sqlmodel/pulse
tiangolohttps://github.com/tiangolo
fastapi:mainhttps://github.com/fastapi/sqlmodel/tree/main
carljm:new-anyhttps://github.com/carljm/sqlmodel/tree/new-any
Conversationhttps://github.com/fastapi/sqlmodel/pull/1846
Commits1聽(1)https://github.com/fastapi/sqlmodel/pull/1846/commits
Checkshttps://github.com/fastapi/sqlmodel/pull/1846/checks
Files changedhttps://github.com/fastapi/sqlmodel/pull/1846/files
馃悰 Fix type annotation in SQLModel.__new__, avoid explicitly returning Anyhttps://github.com/fastapi/sqlmodel/pull/1846#top
tiangolohttps://github.com/tiangolo
fastapi:mainhttps://github.com/fastapi/sqlmodel/tree/main
carljm:new-anyhttps://github.com/carljm/sqlmodel/tree/new-any
https://github.com/carljm
carljmhttps://github.com/carljm
Apr 2, 2026https://github.com/fastapi/sqlmodel/pull/1846#issue-4196849686
https://typing.python.org/en/latest/spec/constructors.html#new-methodhttps://typing.python.org/en/latest/spec/constructors.html#new-method
SQLModel.__new__ is currently annotated to explicitly return Anyhttps://github.com/fastapi/sqlmodel/blob/9a44fc440020594b1c99f3b86ca958179f921dbb/sqlmodel/main.py#L817
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1846
https://github.com/carljm
Avoid SQLModel.__new__ explicitly returning Anyhttps://github.com/fastapi/sqlmodel/pull/1846/commits/2667e3b69d0fb8ad8ffbab2c8f073ead9ca6a912
2667e3bhttps://github.com/fastapi/sqlmodel/pull/1846/commits/2667e3b69d0fb8ad8ffbab2c8f073ead9ca6a912
https://github.com/tiangolo
tiangolohttps://github.com/tiangolo
Apr 2, 2026 https://github.com/fastapi/sqlmodel/pull/1846#pullrequestreview-4053175425
View reviewed changes https://github.com/fastapi/sqlmodel/pull/1846/files/2667e3b69d0fb8ad8ffbab2c8f073ead9ca6a912
tiangolohttps://github.com/tiangolo
https://github.com/fastapi/sqlmodel/pull/1846#pullrequestreview-4053175425
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1846
https://github.com/tiangolo
tiangolohttps://github.com/tiangolo
bug https://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3Abug
Apr 2, 2026https://github.com/fastapi/sqlmodel/pull/1846#event-24161356166
https://github.com/tiangolo
tiangolohttps://github.com/tiangolo
Apr 2, 2026https://github.com/fastapi/sqlmodel/pull/1846#event-24161385532
https://github.com/tiangolo
tiangolohttps://github.com/tiangolo
5da82e2https://github.com/fastapi/sqlmodel/commit/5da82e2d741e6ab94580395ee637721ca0cb315e
Apr 2, 2026https://github.com/fastapi/sqlmodel/pull/1846#event-24161388274
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1846
https://github.com/carljm
carljmhttps://github.com/carljm
Apr 2, 2026https://github.com/fastapi/sqlmodel/pull/1846#issuecomment-4180689037
@tiangolohttps://github.com/tiangolo
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1846
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%2F1846
https://github.com/tiangolo
tiangolo https://github.com/tiangolo
https://github.com/fastapi/sqlmodel/pull/1846/files/2667e3b69d0fb8ad8ffbab2c8f073ead9ca6a912
bug https://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3Abug
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/1846
https://github.com/carljm
https://github.com/tiangolo
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.