René's URL Explorer Experiment


Title: fix forward type reference in Pydantic schemas by eli-bl · Pull Request #1171 · openapi-generators/openapi-python-client · GitHub

Open Graph Title: fix forward type reference in Pydantic schemas by eli-bl · Pull Request #1171 · openapi-generators/openapi-python-client

X Title: fix forward type reference in Pydantic schemas by eli-bl · Pull Request #1171 · openapi-generators/openapi-python-client

Description: This small change addresses an issue that, unfortunately, I don't have a good test case to demonstrate. I've only been able to reproduce it with one specific API spec file... and only in my fork. O...

Open Graph Description: This small change addresses an issue that, unfortunately, I don't have a good test case to demonstrate. I've only been able to reproduce it with one specific API spec file... and only in my...

X Description: This small change addresses an issue that, unfortunately, I don't have a good test case to demonstrate. I've only been able to reproduce it with one specific API spec file... and on...

Opengraph URL: https://github.com/openapi-generators/openapi-python-client/pull/1171

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:2a2f147f-352f-6ef7-d746-7ca71a2a91a6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAA82:37FA71:6D8C142:912D283:6980A3BB
html-safe-nonceb694455c2d6bca465784480c173c453573facbca2ea5b60208f2bdca4c687731
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTgyOjM3RkE3MTo2RDhDMTQyOjkxMkQyODM6Njk4MEEzQkIiLCJ2aXNpdG9yX2lkIjoiNzM0NzU0MjY1NDAzMDIyNjM2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca342da9a647e7d43b465cb94780f41d5fb1bd945d7b212773aef30f141081a43
hovercard-subject-tagpull_request:2202266598
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/openapi-generators/openapi-python-client/1171/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6d9c9635f9106f0f0ae43eb7383bc1f96112880cf2c9ef8697899dfc3f9ee4e7/openapi-generators/openapi-python-client/pull/1171
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6d9c9635f9106f0f0ae43eb7383bc1f96112880cf2c9ef8697899dfc3f9ee4e7/openapi-generators/openapi-python-client/pull/1171
og:image:altThis small change addresses an issue that, unfortunately, I don't have a good test case to demonstrate. I've only been able to reproduce it with one specific API spec file... and only in my...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeli-bl
hostnamegithub.com
expected-hostnamegithub.com
None397d19ba710db18a5bb8753941062283effd69f9bf1c4828adfea0f79443f2f8
turbo-cache-controlno-preview
go-importgithub.com/openapi-generators/openapi-python-client git https://github.com/openapi-generators/openapi-python-client.git
octolytics-dimension-user_id84925606
octolytics-dimension-user_loginopenapi-generators
octolytics-dimension-repository_id240776275
octolytics-dimension-repository_nwoopenapi-generators/openapi-python-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id240776275
octolytics-dimension-repository_network_root_nwoopenapi-generators/openapi-python-client
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
releaseaf3ed57de2d3e996d6b26c9b863321bbc7aeae13
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/openapi-generators/openapi-python-client/pull/1171#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenapi-generators%2Fopenapi-python-client%2Fpull%2F1171
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Fopenapi-generators%2Fopenapi-python-client%2Fpull%2F1171
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=openapi-generators%2Fopenapi-python-client
Reloadhttps://github.com/openapi-generators/openapi-python-client/pull/1171
Reloadhttps://github.com/openapi-generators/openapi-python-client/pull/1171
Reloadhttps://github.com/openapi-generators/openapi-python-client/pull/1171
openapi-generators https://github.com/openapi-generators
openapi-python-clienthttps://github.com/openapi-generators/openapi-python-client
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1171
Notifications https://github.com/login?return_to=%2Fopenapi-generators%2Fopenapi-python-client
Fork 264 https://github.com/login?return_to=%2Fopenapi-generators%2Fopenapi-python-client
Star 1.9k https://github.com/login?return_to=%2Fopenapi-generators%2Fopenapi-python-client
Code https://github.com/openapi-generators/openapi-python-client
Issues 77 https://github.com/openapi-generators/openapi-python-client/issues
Pull requests 14 https://github.com/openapi-generators/openapi-python-client/pulls
Discussions https://github.com/openapi-generators/openapi-python-client/discussions
Actions https://github.com/openapi-generators/openapi-python-client/actions
Security 2 https://github.com/openapi-generators/openapi-python-client/security
Insights https://github.com/openapi-generators/openapi-python-client/pulse
Code https://github.com/openapi-generators/openapi-python-client
Issues https://github.com/openapi-generators/openapi-python-client/issues
Pull requests https://github.com/openapi-generators/openapi-python-client/pulls
Discussions https://github.com/openapi-generators/openapi-python-client/discussions
Actions https://github.com/openapi-generators/openapi-python-client/actions
Security https://github.com/openapi-generators/openapi-python-client/security
Insights https://github.com/openapi-generators/openapi-python-client/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fopenapi-generators%2Fopenapi-python-client%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fopenapi-generators%2Fopenapi-python-client%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/openapi-generators/openapi-python-client/pull/1171#issue-comment-box
eli-blhttps://github.com/eli-bl
openapi-generators:mainhttps://github.com/openapi-generators/openapi-python-client/tree/main
benchling:pydantic-forward-ref-fixhttps://github.com/benchling/openapi-python-client/tree/pydantic-forward-ref-fix
fix forward type reference in Pydantic schemas https://github.com/openapi-generators/openapi-python-client/pull/1171#top
eli-blhttps://github.com/eli-bl
openapi-generators:mainhttps://github.com/openapi-generators/openapi-python-client/tree/main
benchling:pydantic-forward-ref-fixhttps://github.com/benchling/openapi-python-client/tree/pydantic-forward-ref-fix
Conversation 5 https://github.com/openapi-generators/openapi-python-client/pull/1171
Commits 2 https://github.com/openapi-generators/openapi-python-client/pull/1171/commits
Checks 1 https://github.com/openapi-generators/openapi-python-client/pull/1171/checks
Files changed https://github.com/openapi-generators/openapi-python-client/pull/1171/files
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1171
https://github.co/hiddenchars
https://github.com/openapi-generators/openapi-python-client/pull/{{ revealButtonHref }}
https://github.com/eli-bl
eli-blhttps://github.com/eli-bl
Nov 27, 2024https://github.com/openapi-generators/openapi-python-client/pull/1171#issue-2696661651
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1171
this linehttps://github.com/benchling/openapi-python-client/blob/pydantic-forward-ref-fix/openapi_python_client/parser/properties/schemas.py#L166
encoding.pyhttps://github.com/benchling/openapi-python-client/blob/pydantic-forward-ref-fix/openapi_python_client/schema/openapi_schema_pydantic/encoding.py#L10
extremely complicatedhttps://docs.pydantic.dev/latest/internals/resolving_annotations/#resolving-annotations-when-rebuilding-a-model
the docshttps://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_rebuild
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1171
https://github.com/eli-bl
fix forward type reference in Pydantic schemashttps://github.com/openapi-generators/openapi-python-client/pull/1171/commits/eb03758c03659d111eb5cc0dd26325297ad6a055
eb03758https://github.com/openapi-generators/openapi-python-client/pull/1171/commits/eb03758c03659d111eb5cc0dd26325297ad6a055
https://github.com/eli-bl
eli-blhttps://github.com/eli-bl
dbantyhttps://github.com/dbanty
November 27, 2024 01:36https://github.com/openapi-generators/openapi-python-client/pull/1171#event-15444855184
https://github.com/eli-bl
eli-blhttps://github.com/eli-bl
November 27, 2024 01:39https://github.com/openapi-generators/openapi-python-client/pull/1171#event-15444897733
https://github.com/eli-bl
docshttps://github.com/openapi-generators/openapi-python-client/pull/1171/commits/3c52cac06a6b1404a3e28e47cd7042a94dfbb0f6
3c52cachttps://github.com/openapi-generators/openapi-python-client/pull/1171/commits/3c52cac06a6b1404a3e28e47cd7042a94dfbb0f6
https://github.com/texhnolyze
texhnolyzehttps://github.com/texhnolyze
Nov 27, 2024https://github.com/openapi-generators/openapi-python-client/pull/1171#issuecomment-2503829288
https://editor.swagger.io/https://editor.swagger.io/
pydantic/pydantic@v2.10.1...v2.10.2https://github.com/pydantic/pydantic/compare/v2.10.1...v2.10.2
pydantic/pydantic#10910https://github.com/pydantic/pydantic/issues/10910
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1171
https://github.com/dedehas
dedehashttps://github.com/dedehas
Nov 27, 2024https://github.com/openapi-generators/openapi-python-client/pull/1171#issuecomment-2503927563
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1171
https://github.com/eli-bl
eli-blhttps://github.com/eli-bl
Dec 2, 2024 https://github.com/openapi-generators/openapi-python-client/pull/1171#ref-pullrequest-2696629125
eng: fix forward type reference in Pydantic schemas BNCH-112697 benchling/openapi-python-client#223 https://github.com/benchling/openapi-python-client/pull/223
https://github.com/eli-bl
eli-blhttps://github.com/eli-bl
Dec 2, 2024https://github.com/openapi-generators/openapi-python-client/pull/1171#issuecomment-2512345767
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1171
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1171
https://github.com/texhnolyze
texhnolyzehttps://github.com/texhnolyze
Dec 3, 2024 https://github.com/openapi-generators/openapi-python-client/pull/1171#ref-issue-2711353762
Newest Pydantic generates error for some files #1174 https://github.com/openapi-generators/openapi-python-client/issues/1174
https://github.com/Viicos
Viicoshttps://github.com/Viicos
Dec 4, 2024https://github.com/openapi-generators/openapi-python-client/pull/1171#issuecomment-2518106994
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1171
openapi-python-client/openapi_python_client/schema/openapi_schema_pydantic/encoding.pyhttps://github.com/openapi-generators/openapi-python-client/blob/861ef5622f10fc96d240dc9becb0edf94e61446c/openapi_python_client/schema/openapi_schema_pydantic/encoding.py#L7-L22
861ef56https://github.com/openapi-generators/openapi-python-client/commit/861ef5622f10fc96d240dc9becb0edf94e61446c
1https://github.com/openapi-generators/openapi-python-client/pull/1171#user-content-fn-1-06fed57f2466a185448a9c7d4a0ccf43
@eli-blhttps://github.com/eli-bl
benchling#223https://github.com/benchling/openapi-python-client/pull/223
https://github.com/langchain-ai/langchain-google/issues/610#issuecomment-2493831993https://github.com/langchain-ai/langchain-google/issues/610#issuecomment-2493831993
https://github.com/openapi-generators/openapi-python-client/pull/1171#user-content-fnref-1-06fed57f2466a185448a9c7d4a0ccf43
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1171
https://github.com/Viicos
Viicoshttps://github.com/Viicos
Dec 5, 2024 https://github.com/openapi-generators/openapi-python-client/pull/1171#ref-pullrequest-2720202977
Properly rebuild Pydantic models if necessary #1176 https://github.com/openapi-generators/openapi-python-client/pull/1176
https://github.com/eli-bl
eli-blhttps://github.com/eli-bl
Dec 7, 2024https://github.com/openapi-generators/openapi-python-client/pull/1171#issuecomment-2524725097
@Viicoshttps://github.com/Viicos
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1171
https://github.com/eli-bl
eli-blhttps://github.com/eli-bl
Dec 7, 2024https://github.com/openapi-generators/openapi-python-client/pull/1171#event-15567541684
https://github.com/eli-bl
eli-blhttps://github.com/eli-bl
December 7, 2024 01:07https://github.com/openapi-generators/openapi-python-client/pull/1171#event-15567541956
github-merge-queuehttps://github.com/apps/github-merge-queue
Dec 24, 2024 https://github.com/openapi-generators/openapi-python-client/pull/1171#ref-commit-800a715
https://github.com/Viicos
https://github.com/dbanty
Properly rebuild Pydantic models if necessary (https://github.com/openapi-generators/openapi-python-client/commit/800a7151efcea8c40489fbf25b104c49d88983f9
#1176https://github.com/openapi-generators/openapi-python-client/pull/1176
)https://github.com/openapi-generators/openapi-python-client/commit/800a7151efcea8c40489fbf25b104c49d88983f9
800a715https://github.com/openapi-generators/openapi-python-client/commit/800a7151efcea8c40489fbf25b104c49d88983f9
#1171 (comment)https://github.com/openapi-generators/openapi-python-client/pull/1171#issuecomment-2518106994
micha91https://github.com/micha91
May 13, 2025 https://github.com/openapi-generators/openapi-python-client/pull/1171#ref-commit-d403185
https://github.com/Viicos
https://github.com/dbanty
https://github.com/micha91
Properly rebuild Pydantic models if necessary (https://github.com/micha91/openapi-python-client/commit/d40318579644fd00fa879073b3cb9452078b03ad
openapi-generators#1176https://github.com/openapi-generators/openapi-python-client/pull/1176
)https://github.com/micha91/openapi-python-client/commit/d40318579644fd00fa879073b3cb9452078b03ad
d403185https://github.com/micha91/openapi-python-client/commit/d40318579644fd00fa879073b3cb9452078b03ad
openapi-generators#1171 (comment)https://github.com/openapi-generators/openapi-python-client/pull/1171#issuecomment-2518106994
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenapi-generators%2Fopenapi-python-client%2Fpull%2F1171
https://github.com/dbanty
dbanty https://github.com/dbanty
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1171
https://github.com/eli-bl
https://github.com/texhnolyze
https://github.com/dedehas
https://github.com/Viicos
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.