René's URL Explorer Experiment


Title: fix: Support discriminator for deserializing polymorphic types by yoavk · Pull Request #717 · openapi-generators/openapi-python-client · GitHub

Open Graph Title: fix: Support discriminator for deserializing polymorphic types by yoavk · Pull Request #717 · openapi-generators/openapi-python-client

X Title: fix: Support discriminator for deserializing polymorphic types by yoavk · Pull Request #717 · openapi-generators/openapi-python-client

Description: Partially closes #219. This fixes deserializing polymorphic types that have the same members, which otherwise would rely on order of types in the union.

Open Graph Description: Partially closes #219. This fixes deserializing polymorphic types that have the same members, which otherwise would rely on order of types in the union.

X Description: Partially closes #219. This fixes deserializing polymorphic types that have the same members, which otherwise would rely on order of types in the union.

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

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:47182d64-9e8f-de8a-4a74-c77e1d1efe6d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id866C:28400F:34D9094:473C332:69808B1A
html-safe-noncea51dd5b576259fffbf676b83aa4f0ef2e1ee052c2810f8c2a075af7a3f7ef6de
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjZDOjI4NDAwRjozNEQ5MDk0OjQ3M0MzMzI6Njk4MDhCMUEiLCJ2aXNpdG9yX2lkIjoiNzk2MTg2OTkyOTY2NDI1MjY5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf3566938efd234699b04ec05b3bad3bd8358e80ac1499a42d5e5fa1380d081a0
hovercard-subject-tagpull_request:1186285503
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/717/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/36a04a0015d9f642a2a2e7fe017d994cdcb8c46956b38c4936aee8e21c2b45d3/openapi-generators/openapi-python-client/pull/717
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/36a04a0015d9f642a2a2e7fe017d994cdcb8c46956b38c4936aee8e21c2b45d3/openapi-generators/openapi-python-client/pull/717
og:image:altPartially closes #219. This fixes deserializing polymorphic types that have the same members, which otherwise would rely on order of types in the union.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyoavk
hostnamegithub.com
expected-hostnamegithub.com
Nonea655d4df3b43671613bf5bf4449d183ed68a015e5d32b00269218f3d9a2e710d
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
release4fc036202b2c45e242f3563a131cd4c7da5a7c7d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/openapi-generators/openapi-python-client/pull/717#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%2F717
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%2F717
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/717
Reloadhttps://github.com/openapi-generators/openapi-python-client/pull/717
Reloadhttps://github.com/openapi-generators/openapi-python-client/pull/717
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/717
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/717#issue-comment-box
yoavkhttps://github.com/yoavk
openapi-generators:mainhttps://github.com/openapi-generators/openapi-python-client/tree/main
yoavk:feature/union-discriminatorhttps://github.com/yoavk/openapi-python-client/tree/feature/union-discriminator
fix: Support discriminator for deserializing polymorphic types https://github.com/openapi-generators/openapi-python-client/pull/717#top
yoavkhttps://github.com/yoavk
openapi-generators:mainhttps://github.com/openapi-generators/openapi-python-client/tree/main
yoavk:feature/union-discriminatorhttps://github.com/yoavk/openapi-python-client/tree/feature/union-discriminator
Conversation 3 https://github.com/openapi-generators/openapi-python-client/pull/717
Commits 3 https://github.com/openapi-generators/openapi-python-client/pull/717/commits
Checks 0 https://github.com/openapi-generators/openapi-python-client/pull/717/checks
Files changed https://github.com/openapi-generators/openapi-python-client/pull/717/files
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/717
https://github.co/hiddenchars
https://github.com/openapi-generators/openapi-python-client/pull/{{ revealButtonHref }}
https://github.com/yoavk
yoavkhttps://github.com/yoavk
Jan 5, 2023https://github.com/openapi-generators/openapi-python-client/pull/717#issue-1520504314
#219https://github.com/openapi-generators/openapi-python-client/issues/219
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/717
yoavkhttps://github.com/yoavk
January 5, 2023 12:16https://github.com/openapi-generators/openapi-python-client/pull/717#commits-pushed-954a77b
https://github.com/yoavk
Use discriminator in union's sub modelshttps://github.com/openapi-generators/openapi-python-client/pull/717/commits/954a77b8d7975a458073246c5f994d81acae9d35
954a77bhttps://github.com/openapi-generators/openapi-python-client/pull/717/commits/954a77b8d7975a458073246c5f994d81acae9d35
https://github.com/yoavk
Merge branch 'main' of github.com:openapi-generators/openapi-python-c…https://github.com/openapi-generators/openapi-python-client/pull/717/commits/f9ed1767b8e3ad7d62db256ebe1b8d9981b31377
f9ed176https://github.com/openapi-generators/openapi-python-client/pull/717/commits/f9ed1767b8e3ad7d62db256ebe1b8d9981b31377
https://github.com/yoavk
Make discriminator optionalhttps://github.com/openapi-generators/openapi-python-client/pull/717/commits/ee75c003453558bb4679e71ede674f1595d8469c
ee75c00https://github.com/openapi-generators/openapi-python-client/pull/717/commits/ee75c003453558bb4679e71ede674f1595d8469c
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Jan 16, 2023https://github.com/openapi-generators/openapi-python-client/pull/717#issuecomment-1384462008
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/717
Codecovhttps://app.codecov.io/gh/openapi-generators/openapi-python-client/pull/717?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openapi-generators
(aa324fc)https://app.codecov.io/gh/openapi-generators/openapi-python-client/commit/aa324fcf4a248f1bb4746c5802f1bbfd5b17ef4b?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openapi-generators
(ee75c00)https://app.codecov.io/gh/openapi-generators/openapi-python-client/commit/ee75c003453558bb4679e71ede674f1595d8469c?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openapi-generators
Files with missing lineshttps://app.codecov.io/gh/openapi-generators/openapi-python-client/pull/717?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openapi-generators
...penapi_python_client/parser/properties/__init__.pyhttps://app.codecov.io/gh/openapi-generators/openapi-python-client/pull/717?src=pr&el=tree&filepath=openapi_python_client%2Fparser%2Fproperties%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openapi-generators#diff-b3BlbmFwaV9weXRob25fY2xpZW50L3BhcnNlci9wcm9wZXJ0aWVzL19faW5pdF9fLnB5
10 Missing ⚠️ https://app.codecov.io/gh/openapi-generators/openapi-python-client/pull/717?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openapi-generators
☔ View full report in Codecov by Sentryhttps://app.codecov.io/gh/openapi-generators/openapi-python-client/pull/717?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openapi-generators
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openapi-generators
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/717
https://github.com/dbanty
dbantyhttps://github.com/dbanty
Jan 16, 2023 https://github.com/openapi-generators/openapi-python-client/pull/717#pullrequestreview-1250607671
View reviewed changes https://github.com/openapi-generators/openapi-python-client/pull/717/files/ee75c003453558bb4679e71ede674f1595d8469c
dbantyhttps://github.com/dbanty
https://github.com/openapi-generators/openapi-python-client/pull/717#pullrequestreview-1250607671
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/717
openapi_python_client/parser/properties/__init__.pyhttps://github.com/openapi-generators/openapi-python-client/pull/717/files/ee75c003453558bb4679e71ede674f1595d8469c#diff-61e8ac1a0d02be37f61e720be24f89c399fc6325938adfe140017e45198dc241
dbantyhttps://github.com/dbanty
Jan 16, 2023https://github.com/openapi-generators/openapi-python-client/pull/717#discussion_r1071539502
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/717
https://github.com/eli-bl
eli-blhttps://github.com/eli-bl
Oct 28, 2024 https://github.com/openapi-generators/openapi-python-client/pull/717#ref-pullrequest-2619273842
add discriminator property support #1154 https://github.com/openapi-generators/openapi-python-client/pull/1154
https://github.com/yoavk
yoavkhttps://github.com/yoavk
Dec 5, 2024https://github.com/openapi-generators/openapi-python-client/pull/717#event-15539803259
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%2F717
https://github.com/dbanty
dbanty https://github.com/dbanty
https://github.com/openapi-generators/openapi-python-client/pull/717/files/ee75c003453558bb4679e71ede674f1595d8469c
Support discriminator for polymorphic types and support oneOf https://github.com/openapi-generators/openapi-python-client/issues/219
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/717
https://github.com/yoavk
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.