René's URL Explorer Experiment


Title: validate value of 'const' properties (helps with discriminated unions) by peter-greenatlas · Pull Request #1024 · openapi-generators/openapi-python-client · GitHub

Open Graph Title: validate value of 'const' properties (helps with discriminated unions) by peter-greenatlas · Pull Request #1024 · openapi-generators/openapi-python-client

X Title: validate value of 'const' properties (helps with discriminated unions) by peter-greenatlas · Pull Request #1024 · openapi-generators/openapi-python-client

Description: For 'const' properties, the parsed value will now be checked against the value in the schema at runtime and a ValueError will be raised if they do not match. Until now, the values would just be cas...

Open Graph Description: For 'const' properties, the parsed value will now be checked against the value in the schema at runtime and a ValueError will be raised if they do not match. Until now, the values would jus...

X Description: For 'const' properties, the parsed value will now be checked against the value in the schema at runtime and a ValueError will be raised if they do not match. Until now, the values w...

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

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:6a7c06e5-04c5-ac0b-08c9-b5bed82e236e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA5F0:375202:F8910:134F4C:697F84CB
html-safe-noncee98099f7583117b608fe90f7642a17e8ac8de3ae22d712961012f9d45823b0b6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUYwOjM3NTIwMjpGODkxMDoxMzRGNEM6Njk3Rjg0Q0IiLCJ2aXNpdG9yX2lkIjoiNjg1OTE4MTE0Mjc4MDY0MjUwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3b00c1c448e2b53d423eb1edbc78d046c87ebcd5c4dc306e402b0ae2aa8bb068
hovercard-subject-tagpull_request:1818970359
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/1024/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/39cc8973cd78d2ff319e7f2322a5a08331e4b4d081ffdeef74708e02239c4945/openapi-generators/openapi-python-client/pull/1024
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/39cc8973cd78d2ff319e7f2322a5a08331e4b4d081ffdeef74708e02239c4945/openapi-generators/openapi-python-client/pull/1024
og:image:altFor 'const' properties, the parsed value will now be checked against the value in the schema at runtime and a ValueError will be raised if they do not match. Until now, the values would jus...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepeter-greenatlas
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/1024#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%2F1024
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%2F1024
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/1024
Reloadhttps://github.com/openapi-generators/openapi-python-client/pull/1024
Reloadhttps://github.com/openapi-generators/openapi-python-client/pull/1024
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/1024
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/1024#issue-comment-box
dbantyhttps://github.com/dbanty
openapi-generators:mainhttps://github.com/openapi-generators/openapi-python-client/tree/main
peter-greenatlas:validate-consthttps://github.com/peter-greenatlas/openapi-python-client/tree/validate-const
validate value of 'const' properties (helps with discriminated unions) https://github.com/openapi-generators/openapi-python-client/pull/1024#top
dbantyhttps://github.com/dbanty
openapi-generators:mainhttps://github.com/openapi-generators/openapi-python-client/tree/main
peter-greenatlas:validate-consthttps://github.com/peter-greenatlas/openapi-python-client/tree/validate-const
Conversation 2 https://github.com/openapi-generators/openapi-python-client/pull/1024
Commits 5 https://github.com/openapi-generators/openapi-python-client/pull/1024/commits
Checks 0 https://github.com/openapi-generators/openapi-python-client/pull/1024/checks
Files changed https://github.com/openapi-generators/openapi-python-client/pull/1024/files
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1024
https://github.co/hiddenchars
https://github.com/openapi-generators/openapi-python-client/pull/{{ revealButtonHref }}
https://github.com/peter-greenatlas
peter-greenatlashttps://github.com/peter-greenatlas
Apr 12, 2024https://github.com/openapi-generators/openapi-python-client/pull/1024#issue-2238806095
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1024
https://github.com/peter-greenatlas
validate value of 'const' propertieshttps://github.com/openapi-generators/openapi-python-client/pull/1024/commits/538739e95cf75e04aef6a424058606f995afeb22
538739ehttps://github.com/openapi-generators/openapi-python-client/pull/1024/commits/538739e95cf75e04aef6a424058606f995afeb22
https://github.com/dbanty
dbantyhttps://github.com/dbanty
Apr 19, 2024https://github.com/openapi-generators/openapi-python-client/pull/1024#issuecomment-2067268494
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1024
dbantyhttps://github.com/dbanty
April 19, 2024 14:53https://github.com/openapi-generators/openapi-python-client/pull/1024#commits-pushed-0558361
https://github.com/dbanty
Fix mypy complainthttps://github.com/openapi-generators/openapi-python-client/pull/1024/commits/0558361a6297f6a15064305f9c1f8c114c80e47b
0558361https://github.com/openapi-generators/openapi-python-client/pull/1024/commits/0558361a6297f6a15064305f9c1f8c114c80e47b
https://github.com/dbanty
Merge branch 'refs/heads/main' into validate-consthttps://github.com/openapi-generators/openapi-python-client/pull/1024/commits/15e59fc816963bd52bc4aa4d5861582fa9e43af3
15e59fchttps://github.com/openapi-generators/openapi-python-client/pull/1024/commits/15e59fc816963bd52bc4aa4d5861582fa9e43af3
https://github.com/dbanty
Simplify generated codehttps://github.com/openapi-generators/openapi-python-client/pull/1024/commits/337b1b97fada69fca42aa6b89512ea6cf99517f7
337b1b9https://github.com/openapi-generators/openapi-python-client/pull/1024/commits/337b1b97fada69fca42aa6b89512ea6cf99517f7
https://github.com/dbanty
Changesethttps://github.com/openapi-generators/openapi-python-client/pull/1024/commits/91a72d304957d18bec29ac026acd737f80bd2dbb
91a72d3https://github.com/openapi-generators/openapi-python-client/pull/1024/commits/91a72d304957d18bec29ac026acd737f80bd2dbb
https://github.com/dbanty
dbantyhttps://github.com/dbanty
🥚breaking https://github.com/openapi-generators/openapi-python-client/issues?q=state%3Aopen%20label%3A%F0%9F%A5%9Abreaking
Apr 19, 2024https://github.com/openapi-generators/openapi-python-client/pull/1024#event-12545530752
https://github.com/dbanty
dbantyhttps://github.com/dbanty
Apr 19, 2024 https://github.com/openapi-generators/openapi-python-client/pull/1024#pullrequestreview-2012648072
View reviewed changes https://github.com/openapi-generators/openapi-python-client/pull/1024/files/91a72d304957d18bec29ac026acd737f80bd2dbb
dbantyhttps://github.com/dbanty
https://github.com/openapi-generators/openapi-python-client/pull/1024#pullrequestreview-2012648072
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1024
https://github.com/dbanty
dbantyhttps://github.com/dbanty
April 19, 2024 22:31https://github.com/openapi-generators/openapi-python-client/pull/1024#event-12545534014
https://github.com/dbanty
dbantyhttps://github.com/dbanty
merge queuehttps://github.com/openapi-generators/openapi-python-client/queue/main
Apr 19, 2024https://github.com/openapi-generators/openapi-python-client/pull/1024#event-12545543896
ee052fdhttps://github.com/openapi-generators/openapi-python-client/commit/ee052fd9a98abfc69601d600795d7a9906049e6a
Apr 19, 2024https://github.com/openapi-generators/openapi-python-client/pull/1024#event-12545563075
https://github.com/dbanty
dbantyhttps://github.com/dbanty
Apr 19, 2024 https://github.com/openapi-generators/openapi-python-client/pull/1024#ref-pullrequest-2253968549
chore: prepare release 0.20.0 #1032 https://github.com/openapi-generators/openapi-python-client/pull/1032
https://github.com/dthung1602
dthung1602https://github.com/dthung1602
May 14, 2024 https://github.com/openapi-generators/openapi-python-client/pull/1024#ref-issue-2295558150
Incorrect const property validation #1044 https://github.com/openapi-generators/openapi-python-client/issues/1044
dbantyhttps://github.com/dbanty
May 18, 2024 https://github.com/openapi-generators/openapi-python-client/pull/1024#ref-commit-7af00ce
https://github.com/dbanty
chore: prepare release 0.20.0 (https://github.com/openapi-generators/openapi-python-client/commit/7af00ced6758b12dd27774e64afba5f5aaf53747
#1032https://github.com/openapi-generators/openapi-python-client/pull/1032
)https://github.com/openapi-generators/openapi-python-client/commit/7af00ced6758b12dd27774e64afba5f5aaf53747
7af00cehttps://github.com/openapi-generators/openapi-python-client/commit/7af00ced6758b12dd27774e64afba5f5aaf53747
#1024https://github.com/openapi-generators/openapi-python-client/pull/1024
@peter-greenatlashttps://github.com/peter-greenatlas
https://yaml.readthedocs.io/en/latest/pyyaml/#defaulting-to-yaml-12-supporthttps://yaml.readthedocs.io/en/latest/pyyaml/#defaulting-to-yaml-12-support
#1042https://github.com/openapi-generators/openapi-python-client/pull/1042
#1041https://github.com/openapi-generators/openapi-python-client/issues/1041
@rtaycherhttps://github.com/rtaycher
#1031https://github.com/openapi-generators/openapi-python-client/pull/1031
#926https://github.com/openapi-generators/openapi-python-client/issues/926
micha91https://github.com/micha91
May 13, 2025 https://github.com/openapi-generators/openapi-python-client/pull/1024#ref-commit-a1d6dd2
https://github.com/dbanty
https://github.com/micha91
chore: prepare release 0.20.0 (https://github.com/micha91/openapi-python-client/commit/a1d6dd24bf03b3de1c8d1f5d90f55c8d9836f927
openapi-generators#1032https://github.com/openapi-generators/openapi-python-client/pull/1032
)https://github.com/micha91/openapi-python-client/commit/a1d6dd24bf03b3de1c8d1f5d90f55c8d9836f927
a1d6dd2https://github.com/micha91/openapi-python-client/commit/a1d6dd24bf03b3de1c8d1f5d90f55c8d9836f927
openapi-generators#1024https://github.com/openapi-generators/openapi-python-client/pull/1024
@peter-greenatlashttps://github.com/peter-greenatlas
https://yaml.readthedocs.io/en/latest/pyyaml/#defaulting-to-yaml-12-supporthttps://yaml.readthedocs.io/en/latest/pyyaml/#defaulting-to-yaml-12-support
openapi-generators#1042https://github.com/openapi-generators/openapi-python-client/pull/1042
openapi-generators#1041https://github.com/openapi-generators/openapi-python-client/issues/1041
@rtaycherhttps://github.com/rtaycher
openapi-generators#1031https://github.com/openapi-generators/openapi-python-client/pull/1031
openapi-generators#926https://github.com/openapi-generators/openapi-python-client/issues/926
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%2F1024
https://github.com/dbanty
dbanty https://github.com/dbanty
https://github.com/openapi-generators/openapi-python-client/pull/1024/files/91a72d304957d18bec29ac026acd737f80bd2dbb
🥚breaking https://github.com/openapi-generators/openapi-python-client/issues?q=state%3Aopen%20label%3A%F0%9F%A5%9Abreaking
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1024
https://github.com/peter-greenatlas
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.