René's URL Explorer Experiment


Title: fix: import cast for required const properties, since it's used in the template by benweint · Pull Request #1153 · openapi-generators/openapi-python-client · GitHub

Open Graph Title: fix: import cast for required const properties, since it's used in the template by benweint · Pull Request #1153 · openapi-generators/openapi-python-client

X Title: fix: import cast for required const properties, since it's used in the template by benweint · Pull Request #1153 · openapi-generators/openapi-python-client

Description: The template for const properties uses cast unconditionally, but the import for cast in ConstProperty.get_imports was conditioned on whether the property was required or not, leading to broken gene...

Open Graph Description: The template for const properties uses cast unconditionally, but the import for cast in ConstProperty.get_imports was conditioned on whether the property was required or not, leading to broken gene...

X Description: The template for const properties uses cast unconditionally, but the import for cast in ConstProperty.get_imports was conditioned on whether the property was required or not, leading to broken gene...

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

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:8ac68048-8d5a-e310-0bd3-4a51bb8db180
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB442:2C8C4C:ADE57ED:DFCED4B:697F142A
html-safe-nonce71ab63d6dee4c8c64989fdf97fbb3303f3664e0daa3614711b95083affa99a7c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDQyOjJDOEM0QzpBREU1N0VEOkRGQ0VENEI6Njk3RjE0MkEiLCJ2aXNpdG9yX2lkIjoiMjIxNzc0NDI1MDk2NjA1MzkzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf0c7ebbe61f06e8a2e1c8c575a93424af70d17affd4e54ac20dfda2206f98dec
hovercard-subject-tagpull_request:2148126776
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/1153/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/180807ef5b7172fdc780bf5081c25cd0729984b04b0a53cc84acc1f4840fc12d/openapi-generators/openapi-python-client/pull/1153
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/180807ef5b7172fdc780bf5081c25cd0729984b04b0a53cc84acc1f4840fc12d/openapi-generators/openapi-python-client/pull/1153
og:image:altThe template for const properties uses cast unconditionally, but the import for cast in ConstProperty.get_imports was conditioned on whether the property was required or not, leading to broken gene...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebenweint
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
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
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/openapi-generators/openapi-python-client/pull/1153#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%2F1153
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%2F1153
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/1153
Reloadhttps://github.com/openapi-generators/openapi-python-client/pull/1153
Reloadhttps://github.com/openapi-generators/openapi-python-client/pull/1153
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/1153
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 13 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/1153#issue-comment-box
dbantyhttps://github.com/dbanty
openapi-generators:mainhttps://github.com/openapi-generators/openapi-python-client/tree/main
benweint:import-cast-when-neededhttps://github.com/benweint/openapi-python-client/tree/import-cast-when-needed
fix: import cast for required const properties, since it's used in the template https://github.com/openapi-generators/openapi-python-client/pull/1153#top
dbantyhttps://github.com/dbanty
openapi-generators:mainhttps://github.com/openapi-generators/openapi-python-client/tree/main
benweint:import-cast-when-neededhttps://github.com/benweint/openapi-python-client/tree/import-cast-when-needed
Conversation 2 https://github.com/openapi-generators/openapi-python-client/pull/1153
Commits 1 https://github.com/openapi-generators/openapi-python-client/pull/1153/commits
Checks 0 https://github.com/openapi-generators/openapi-python-client/pull/1153/checks
Files changed https://github.com/openapi-generators/openapi-python-client/pull/1153/files
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1153
https://github.co/hiddenchars
https://github.com/openapi-generators/openapi-python-client/pull/{{ revealButtonHref }}
https://github.com/benweint
benweinthttps://github.com/benweint
Oct 28, 2024https://github.com/openapi-generators/openapi-python-client/pull/1153#issue-2617185253
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1153
templatehttps://github.com/openapi-generators/openapi-python-client/blob/main/openapi_python_client/templates/property_templates/const_property.py.jinja#L2
#1150https://github.com/openapi-generators/openapi-python-client/issues/1150
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1153
https://github.com/dbanty
dbantyhttps://github.com/dbanty
Oct 28, 2024https://github.com/openapi-generators/openapi-python-client/pull/1153#issuecomment-2442103825
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1153
https://github.com/benweint
fix: import cast for required const properties, since it's used in th…https://github.com/openapi-generators/openapi-python-client/pull/1153/commits/4ce002eef91aaf3a3693d6fea229cbce0b1555ae
4ce002ehttps://github.com/openapi-generators/openapi-python-client/pull/1153/commits/4ce002eef91aaf3a3693d6fea229cbce0b1555ae
openapi-generators#1150https://github.com/openapi-generators/openapi-python-client/issues/1150
https://github.com/benweint
benweinthttps://github.com/benweint
force-pushedhttps://github.com/openapi-generators/openapi-python-client/compare/0a0671bbc01ec8eccc7ab3410a621895cebdadd0..4ce002eef91aaf3a3693d6fea229cbce0b1555ae
0a0671bhttps://github.com/openapi-generators/openapi-python-client/commit/0a0671bbc01ec8eccc7ab3410a621895cebdadd0
4ce002ehttps://github.com/openapi-generators/openapi-python-client/commit/4ce002eef91aaf3a3693d6fea229cbce0b1555ae
Compare https://github.com/openapi-generators/openapi-python-client/compare/0a0671bbc01ec8eccc7ab3410a621895cebdadd0..4ce002eef91aaf3a3693d6fea229cbce0b1555ae
October 28, 2024 23:20https://github.com/openapi-generators/openapi-python-client/pull/1153#event-14970766465
https://github.com/benweint
benweinthttps://github.com/benweint
Oct 28, 2024https://github.com/openapi-generators/openapi-python-client/pull/1153#issuecomment-2442854994
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1153
https://github.com/dbanty
dbantyhttps://github.com/dbanty
Oct 28, 2024 https://github.com/openapi-generators/openapi-python-client/pull/1153#pullrequestreview-2400436351
View reviewed changes https://github.com/openapi-generators/openapi-python-client/pull/1153/files/4ce002eef91aaf3a3693d6fea229cbce0b1555ae
https://github.com/dbanty
dbantyhttps://github.com/dbanty
merge queuehttps://github.com/openapi-generators/openapi-python-client/queue/main
Oct 28, 2024https://github.com/openapi-generators/openapi-python-client/pull/1153#event-14970867941
40d63f9https://github.com/openapi-generators/openapi-python-client/commit/40d63f944904857c5ee432c12b5256c916feddd5
Oct 28, 2024https://github.com/openapi-generators/openapi-python-client/pull/1153#event-14970890400
https://github.com/apps/knope-bot
knope-bothttps://github.com/apps/knope-bot
Oct 28, 2024 https://github.com/openapi-generators/openapi-python-client/pull/1153#ref-pullrequest-2616795183
Release 0.21.7 #1151 https://github.com/openapi-generators/openapi-python-client/pull/1151
github-merge-queuehttps://github.com/apps/github-merge-queue
Nov 23, 2024 https://github.com/openapi-generators/openapi-python-client/pull/1153#ref-commit-b6c66ca
https://github.com/marketplace/knope-bot
Release 0.21.7 (https://github.com/openapi-generators/openapi-python-client/commit/b6c66ca477ebbb5a5d423fdfe5a97ce6a825c2c8
#1151https://github.com/openapi-generators/openapi-python-client/pull/1151
)https://github.com/openapi-generators/openapi-python-client/commit/b6c66ca477ebbb5a5d423fdfe5a97ce6a825c2c8
b6c66cahttps://github.com/openapi-generators/openapi-python-client/commit/b6c66ca477ebbb5a5d423fdfe5a97ce6a825c2c8
#651https://github.com/openapi-generators/openapi-python-client/issues/651
#1149https://github.com/openapi-generators/openapi-python-client/pull/1149
#1153https://github.com/openapi-generators/openapi-python-client/pull/1153
https://github.com/eli-bl
eli-blhttps://github.com/eli-bl
Jan 7, 2025 https://github.com/openapi-generators/openapi-python-client/pull/1153#ref-pullrequest-2773514968
merge from upstream main benchling/openapi-python-client#224 https://github.com/benchling/openapi-python-client/pull/224
micha91https://github.com/micha91
May 13, 2025 https://github.com/openapi-generators/openapi-python-client/pull/1153#ref-commit-627ec1a
https://github.com/benweint
https://github.com/micha91
fix: import cast for required const properties, since it's used in th…https://github.com/micha91/openapi-python-client/commit/627ec1a696e1d423409dfaccfa14b18bcd167db2
627ec1ahttps://github.com/micha91/openapi-python-client/commit/627ec1a696e1d423409dfaccfa14b18bcd167db2
openapi-generators#1153https://github.com/openapi-generators/openapi-python-client/pull/1153
https://github.com/openapi-generators/openapi-python-client/blob/main/openapi_python_client/templates/property_templates/const_property.py.jinja#L2https://github.com/openapi-generators/openapi-python-client/blob/main/openapi_python_client/templates/property_templates/const_property.py.jinja#L2
openapi-generators#1150https://github.com/openapi-generators/openapi-python-client/issues/1150
micha91https://github.com/micha91
May 13, 2025 https://github.com/openapi-generators/openapi-python-client/pull/1153#ref-commit-6eeae1f
https://github.com/marketplace/knope-bot
https://github.com/micha91
Release 0.21.7 (https://github.com/micha91/openapi-python-client/commit/6eeae1f4082e022f7ac0312f63d60095e8bc5fa1
openapi-generators#1151https://github.com/openapi-generators/openapi-python-client/pull/1151
)https://github.com/micha91/openapi-python-client/commit/6eeae1f4082e022f7ac0312f63d60095e8bc5fa1
6eeae1fhttps://github.com/micha91/openapi-python-client/commit/6eeae1f4082e022f7ac0312f63d60095e8bc5fa1
openapi-generators#651https://github.com/openapi-generators/openapi-python-client/issues/651
openapi-generators#1149https://github.com/openapi-generators/openapi-python-client/pull/1149
openapi-generators#1153https://github.com/openapi-generators/openapi-python-client/pull/1153
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%2F1153
https://github.com/dbanty
dbanty https://github.com/dbanty
https://github.com/openapi-generators/openapi-python-client/pull/1153/files/4ce002eef91aaf3a3693d6fea229cbce0b1555ae
Generated code lacks import of typing.cast for required const properties https://github.com/openapi-generators/openapi-python-client/issues/1150
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1153
https://github.com/benweint
https://github.com/dbanty
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.