René's URL Explorer Experiment


Title: add discriminator property support by eli-bl · Pull Request #1154 · openapi-generators/openapi-python-client · GitHub

Open Graph Title: add discriminator property support by eli-bl · Pull Request #1154 · openapi-generators/openapi-python-client

X Title: add discriminator property support by eli-bl · Pull Request #1154 · openapi-generators/openapi-python-client

Description: This more fully fixes #219, and supersedes #717. Any valid discriminator definition as described in OpenAPI 3.1.0 should work correctly with these changes, including: Discriminators with a mapping that specifies all valid discriminator values. Discriminators with no mapping, in which the discriminator value for each type is the simple name of the type (equivalent to {"Model1": {"$ref": "#/components/schemas/Model1"}}). Discriminators with a mapping that specifies values for some classes, but not all of them; in this case the default for the unspecified classes is the same as if there was no mapping. Unions of unions where each of the sub-unions has its own discriminator mapping. Validation during parsing is not as thorough as it could be, since currently the property lists inside ModelProperty are not available at the time the UnionProperty is parsed (I do have some further changes in mind to improve this, but I wanted to keep the scope of this PR manageable). But there is some basic validation, like "you can't have a non-object schema, or an inline schema, if there's a discriminator"... so this is a breaking change in the sense that generation will now fail on some invalid specs that previously would have passed.

Open Graph Description: This more fully fixes #219, and supersedes #717. Any valid discriminator definition as described in OpenAPI 3.1.0 should work correctly with these changes, including: Discriminators with a mapping...

X Description: This more fully fixes #219, and supersedes #717. Any valid discriminator definition as described in OpenAPI 3.1.0 should work correctly with these changes, including: Discriminators with a mapping...

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

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:85efb877-3c1f-edf3-bbfc-135d89915025
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEB72:290F1E:5D24A:77FF2:69809008
html-safe-nonce3e49a290882655897e748d51cc3e59aa38a8bc0020a8650d27fed76fcb14146e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjcyOjI5MEYxRTo1RDI0QTo3N0ZGMjo2OTgwOTAwOCIsInZpc2l0b3JfaWQiOiIyMTI0NjU1MjcwMjc2OTk3MjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfc342b31cde9a3abd422531abc3c94a8fd25cbd5cbc46b2d7763ecb3780f3cae
hovercard-subject-tagpull_request:2149913527
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/openapi-generators/openapi-python-client/pull/1154/files
twitter:imagehttps://avatars.githubusercontent.com/u/170372326?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/170372326?s=400&v=4
og:image:altThis more fully fixes #219, and supersedes #717. Any valid discriminator definition as described in OpenAPI 3.1.0 should work correctly with these changes, including: Discriminators with a mapping...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None469777838102ab297ec4fcad28d2f2800ba15f98fafe1027761c30ba1171be52
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseabd13d780acc53a8d052b86a5b6ac82b79676965
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenapi-generators%2Fopenapi-python-client%2Fpull%2F1154%2Ffiles
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenapi-generators%2Fopenapi-python-client%2Fpull%2F1154%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=openapi-generators%2Fopenapi-python-client
Reloadhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
Reloadhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
Reloadhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
openapi-generators https://patch-diff.githubusercontent.com/openapi-generators
openapi-python-clienthttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client
Please reload this pagehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fopenapi-generators%2Fopenapi-python-client
Fork 264 https://patch-diff.githubusercontent.com/login?return_to=%2Fopenapi-generators%2Fopenapi-python-client
Star 1.9k https://patch-diff.githubusercontent.com/login?return_to=%2Fopenapi-generators%2Fopenapi-python-client
Code https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client
Issues 77 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/issues
Pull requests 14 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pulls
Discussions https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/discussions
Actions https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/actions
Security 2 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/security
Insights https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pulse
Code https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client
Issues https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/issues
Pull requests https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pulls
Discussions https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/discussions
Actions https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/actions
Security https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/security
Insights https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pulse
Sign up for GitHub https://patch-diff.githubusercontent.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://patch-diff.githubusercontent.com/login?return_to=%2Fopenapi-generators%2Fopenapi-python-client%2Fissues%2Fnew%2Fchoose
eli-blhttps://patch-diff.githubusercontent.com/eli-bl
openapi-generators:mainhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/tree/main
benchling:discriminatorshttps://patch-diff.githubusercontent.com/benchling/openapi-python-client/tree/discriminators
Conversation 9 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154
Commits 9 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits
Checks 19 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/checks
Files changed https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
Please reload this pagehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
add discriminator property support https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#top
Show all changes 9 commits https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
0496ff8 add discriminator property support eli-bl Oct 28, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/0496ff886af2a73718b2ceb250e49078905fc666
b75adda simply the discriminator logic a bit eli-bl Oct 30, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/b75adda0bcf64009120f8b6eedeaf55bf95a5fde
2941451 remove new category of tests for now eli-bl Oct 31, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/29414518643acfaa72d97e21a17b64224cb0ef24
d189f77 lint eli-bl Nov 5, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/d189f771180f189555e7109aee24da871d548724
de1ddf3 lint eli-bl Nov 5, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/de1ddf33667318aad595227492109fed6436bb70
9071de0 handle a case where there's multiple values mapped to same type eli-bl Nov 6, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/9071de05a4158ff397f74ac829ba3eb9f11daf62
0a8b3f7 documentation eli-bl Nov 6, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/0a8b3f74d99f32ece166dde1051770acdac78835
f2e84aa Merge branch 'upstream-main' into discriminators eli-bl Dec 7, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/f2e84aa47692da7a9cd461a01fa121deb4a49849
8197b14 lint eli-bl Dec 7, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/8197b1486dcaa3e92ee25459598e7f14b0cb32a3
Clear filters https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
Please reload this pagehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
Please reload this pagehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
discriminators.md https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-4c7ffd7120057bebcecabca3e373bb305e50e1e822aaef1d0d39d83b4bcbb046
baseline_openapi_3.0.json https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-77684f26aa921fc62d68726ed5ff58c4f476b3d33708bbc21b960aefeec84157
baseline_openapi_3.1.yaml https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-b77a91ff888a9cbfeea6ffa04777347cbc2ab62a2f16479ce2827a6a0f36ac6d
a_discriminated_union_type_1.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-229dacb82696cef16fdb9cddc19efed45ee4fb5a212a6157b6d83c45ef1bd804
a_discriminated_union_type_2.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-436b729a69d5b4b04a9e308ee0e258c9f8407313fba18c6225f24e688463eb82
model_with_discriminated_union.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-73d4a95cc340cc6f6c519e0c447f53fbabc191b376c582770147c9dd99c4d9c6
model_property.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-847f198f92313c7725c39f40576feedc900c9717eecba3a5e70f551926128d73
protocol.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-aa3ab959b1c570baf547f33a45d7dcb7c3b431ef3519e5cde1eb9c1184d7b0be
schemas.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-91d61e88486ae43dc0579d44f7964667c53749e7091907d6a064d80b57a4b26d
union.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-cd8d1b6355e7d64432afb9f7431c2898f051978253484bb7e9af78db96b8c470
__init__.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-04af5ceb9a458fc9d138995210d6bea988e6b4687d70c21462f0d3f9ee062abf
union_property.py.jinja https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-23d4c94f056bacffca42533cd744b9df1851d32b1947472bc1683f52cf977da6
properties_test_helpers.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-9182258ed5f0f870ca6e141a471e30b4b6edd4c304ffe41545d8a2f520032808
test_protocol.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-10faa49b6757f18635195ab5a0b300047af55ce92e9879d45c216e9e80e0b8b5
test_union.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-f6d570de0edf010a77637a03ebde6049a95a2953756ae53772a5cea3217c4c7a
.changeset/discriminators.mdhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-4c7ffd7120057bebcecabca3e373bb305e50e1e822aaef1d0d39d83b4bcbb046
View file https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/blob/8197b1486dcaa3e92ee25459598e7f14b0cb32a3/.changeset/discriminators.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/{{ revealButtonHref }}
end_to_end_tests/baseline_openapi_3.0.jsonhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-77684f26aa921fc62d68726ed5ff58c4f476b3d33708bbc21b960aefeec84157
View file https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/blob/8197b1486dcaa3e92ee25459598e7f14b0cb32a3/end_to_end_tests/baseline_openapi_3.0.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-77684f26aa921fc62d68726ed5ff58c4f476b3d33708bbc21b960aefeec84157
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-77684f26aa921fc62d68726ed5ff58c4f476b3d33708bbc21b960aefeec84157
eli-blhttps://patch-diff.githubusercontent.com/eli-bl
Oct 28, 2024https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#r1819615416
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
eli-blhttps://patch-diff.githubusercontent.com/eli-bl
Oct 29, 2024https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#r1821605154
Please reload this pagehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
what OpenAPI sayshttps://spec.openapis.org/oas/v3.1.0.html#discriminator-object
Please reload this pagehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-77684f26aa921fc62d68726ed5ff58c4f476b3d33708bbc21b960aefeec84157
end_to_end_tests/baseline_openapi_3.1.yamlhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-b77a91ff888a9cbfeea6ffa04777347cbc2ab62a2f16479ce2827a6a0f36ac6d
View file https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/blob/8197b1486dcaa3e92ee25459598e7f14b0cb32a3/end_to_end_tests/baseline_openapi_3.1.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-b77a91ff888a9cbfeea6ffa04777347cbc2ab62a2f16479ce2827a6a0f36ac6d
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-b77a91ff888a9cbfeea6ffa04777347cbc2ab62a2f16479ce2827a6a0f36ac6d
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-b77a91ff888a9cbfeea6ffa04777347cbc2ab62a2f16479ce2827a6a0f36ac6d
end_to_end_tests/golden-record/my_test_api_client/models/a_discriminated_union_type_1.pyhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-229dacb82696cef16fdb9cddc19efed45ee4fb5a212a6157b6d83c45ef1bd804
View file https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/blob/8197b1486dcaa3e92ee25459598e7f14b0cb32a3/end_to_end_tests/golden-record/my_test_api_client/models/a_discriminated_union_type_1.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-229dacb82696cef16fdb9cddc19efed45ee4fb5a212a6157b6d83c45ef1bd804
end_to_end_tests/golden-record/my_test_api_client/models/a_discriminated_union_type_2.pyhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-436b729a69d5b4b04a9e308ee0e258c9f8407313fba18c6225f24e688463eb82
View file https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/blob/8197b1486dcaa3e92ee25459598e7f14b0cb32a3/end_to_end_tests/golden-record/my_test_api_client/models/a_discriminated_union_type_2.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-436b729a69d5b4b04a9e308ee0e258c9f8407313fba18c6225f24e688463eb82
end_to_end_tests/golden-record/my_test_api_client/models/model_with_discriminated_union.pyhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-73d4a95cc340cc6f6c519e0c447f53fbabc191b376c582770147c9dd99c4d9c6
View file https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/blob/8197b1486dcaa3e92ee25459598e7f14b0cb32a3/end_to_end_tests/golden-record/my_test_api_client/models/model_with_discriminated_union.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-73d4a95cc340cc6f6c519e0c447f53fbabc191b376c582770147c9dd99c4d9c6
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-73d4a95cc340cc6f6c519e0c447f53fbabc191b376c582770147c9dd99c4d9c6
openapi_python_client/parser/properties/model_property.pyhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-847f198f92313c7725c39f40576feedc900c9717eecba3a5e70f551926128d73
View file https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/blob/8197b1486dcaa3e92ee25459598e7f14b0cb32a3/openapi_python_client/parser/properties/model_property.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-847f198f92313c7725c39f40576feedc900c9717eecba3a5e70f551926128d73
eli-blhttps://patch-diff.githubusercontent.com/eli-bl
Oct 31, 2024https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#r1824885063
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/openapi-generators/openapi-python-client/pull/1154/files#diff-91d61e88486ae43dc0579d44f7964667c53749e7091907d6a064d80b57a4b26dR145https://github.com/openapi-generators/openapi-python-client/pull/1154/files#diff-91d61e88486ae43dc0579d44f7964667c53749e7091907d6a064d80b57a4b26dR145
Please reload this pagehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-847f198f92313c7725c39f40576feedc900c9717eecba3a5e70f551926128d73
openapi_python_client/parser/properties/protocol.pyhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-aa3ab959b1c570baf547f33a45d7dcb7c3b431ef3519e5cde1eb9c1184d7b0be
View file https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/blob/8197b1486dcaa3e92ee25459598e7f14b0cb32a3/openapi_python_client/parser/properties/protocol.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-aa3ab959b1c570baf547f33a45d7dcb7c3b431ef3519e5cde1eb9c1184d7b0be
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-aa3ab959b1c570baf547f33a45d7dcb7c3b431ef3519e5cde1eb9c1184d7b0be
openapi_python_client/parser/properties/schemas.pyhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-91d61e88486ae43dc0579d44f7964667c53749e7091907d6a064d80b57a4b26d
View file https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/blob/8197b1486dcaa3e92ee25459598e7f14b0cb32a3/openapi_python_client/parser/properties/schemas.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-91d61e88486ae43dc0579d44f7964667c53749e7091907d6a064d80b57a4b26d
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-91d61e88486ae43dc0579d44f7964667c53749e7091907d6a064d80b57a4b26d
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-91d61e88486ae43dc0579d44f7964667c53749e7091907d6a064d80b57a4b26d
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files#diff-91d61e88486ae43dc0579d44f7964667c53749e7091907d6a064d80b57a4b26d
Please reload this pagehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
Please reload this pagehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/files
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.