René's URL Explorer Experiment


Title: Literal enums support! by dbanty · Pull Request #1142 · openapi-generators/openapi-python-client · GitHub

Open Graph Title: Literal enums support! by dbanty · Pull Request #1142 · openapi-generators/openapi-python-client

X Title: Literal enums support! by dbanty · Pull Request #1142 · openapi-generators/openapi-python-client

Description: This is just #1114 but with some docs & changeset

Open Graph Description: This is just #1114 but with some docs & changeset

X Description: This is just #1114 but with some docs & changeset

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

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:3aaf2fe9-9074-4b4f-cca2-122fa964b952
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA4A2:1220C7:D1D663:10EF4A5:697F8D72
html-safe-nonce92eb71be381f2d7074ae4b0fc03906150b5b9f6282a0c616034f184aa24c9c97
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEEyOjEyMjBDNzpEMUQ2NjM6MTBFRjRBNTo2OTdGOEQ3MiIsInZpc2l0b3JfaWQiOiIyNDcyNjE5NTExNjY1MTAyMTk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd6a9098981f5a20f9c2efbd8f88977ee4e4b4265dcf7a61fad80e67c5f907518
hovercard-subject-tagpull_request:2134764365
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/1142/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/56a682acccb5f125374e88abeb3133472db552c0199a2acef28f367086f515ca/openapi-generators/openapi-python-client/pull/1142
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/56a682acccb5f125374e88abeb3133472db552c0199a2acef28f367086f515ca/openapi-generators/openapi-python-client/pull/1142
og:image:altThis is just #1114 but with some docs & changeset
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedbanty
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/1142#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%2F1142
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%2F1142
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/1142
Reloadhttps://github.com/openapi-generators/openapi-python-client/pull/1142
Reloadhttps://github.com/openapi-generators/openapi-python-client/pull/1142
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/1142
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/1142#issue-comment-box
dbantyhttps://github.com/dbanty
mainhttps://github.com/openapi-generators/openapi-python-client/tree/main
em/literal-enumshttps://github.com/openapi-generators/openapi-python-client/tree/em/literal-enums
Literal enums support! https://github.com/openapi-generators/openapi-python-client/pull/1142#top
dbantyhttps://github.com/dbanty
mainhttps://github.com/openapi-generators/openapi-python-client/tree/main
em/literal-enumshttps://github.com/openapi-generators/openapi-python-client/tree/em/literal-enums
Conversation 0 https://github.com/openapi-generators/openapi-python-client/pull/1142
Commits 19 https://github.com/openapi-generators/openapi-python-client/pull/1142/commits
Checks 0 https://github.com/openapi-generators/openapi-python-client/pull/1142/checks
Files changed https://github.com/openapi-generators/openapi-python-client/pull/1142/files
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1142
https://github.co/hiddenchars
https://github.com/openapi-generators/openapi-python-client/pull/{{ revealButtonHref }}
https://github.com/dbanty
dbantyhttps://github.com/dbanty
Oct 20, 2024https://github.com/openapi-generators/openapi-python-client/pull/1142#issue-2600922239
#1114https://github.com/openapi-generators/openapi-python-client/pull/1114
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1142
emosenkishttps://github.com/emosenkis
September 2, 2024 22:26https://github.com/openapi-generators/openapi-python-client/pull/1142#commits-pushed-7052250
https://github.com/emosenkis
Add literal_enums option.https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/705225055566f43c3076c908363ea507ce5433a6
7052250https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/705225055566f43c3076c908363ea507ce5433a6
https://github.com/emosenkis
Merge branch 'main' into em/literal-enumshttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/c3190605d8d88447476d1260da1fb8d27ae9d10b
c319060https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/c3190605d8d88447476d1260da1fb8d27ae9d10b
https://github.com/emosenkis
Fixhttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/77735332b5d5d13325f804a4f87616bc23b163a1
7773533https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/77735332b5d5d13325f804a4f87616bc23b163a1
https://github.com/emosenkis
Merge remote-tracking branch 'upstream/main' into em/literal-enumshttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/268e2ceb577e057125766709267519315346c06e
268e2cehttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/268e2ceb577e057125766709267519315346c06e
https://github.com/emosenkis
Format with ruffhttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/8a7dccfa3c3046a1c7cef51773067904bbf488ae
8a7dccfhttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/8a7dccfa3c3046a1c7cef51773067904bbf488ae
https://github.com/emosenkis
Fix bugs and add tests.https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/a38b39232e16207866dddf15f98e2092621ab0f2
a38b392https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/a38b39232e16207866dddf15f98e2092621ab0f2
https://github.com/emosenkis
Add more tests and suggest literal enums in duplicate enum error.https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/01b45497bc3683a26e5a65c68fe693f19548ca45
01b4549https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/01b45497bc3683a26e5a65c68fe693f19548ca45
https://github.com/emosenkis
Membership checking in constructor instead of in isinstance.https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/e43830ca5bf59a268ad8f1b547d6a6e5bce0ef46
e43830chttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/e43830ca5bf59a268ad8f1b547d6a6e5bce0ef46
https://github.com/emosenkis
Merge remote-tracking branch 'upstream/main' into em/literal-enumshttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/5d5688bb93bfa63b7dafb8c34477011dd15fb3a0
5d5688bhttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/5d5688bb93bfa63b7dafb8c34477011dd15fb3a0
https://github.com/emosenkis
Don't use modern union syntax.https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/f411c46f909956b2462f48c22b37ff3ad6c41862
f411c46https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/f411c46f909956b2462f48c22b37ff3ad6c41862
https://github.com/emosenkis
Drop single-value unionhttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/f6dea8ab5f83fe1d7f717221fe61631af43936d7
f6dea8ahttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/f6dea8ab5f83fe1d7f717221fe61631af43936d7
https://github.com/emosenkis
Merge remote-tracking branch 'upstream/main' into em/literal-enumshttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/8f8bff5b085fc14d334583acc363fc46168ddc89
8f8bff5https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/8f8bff5b085fc14d334583acc363fc46168ddc89
https://github.com/emosenkis
Remove usage of | operator.https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/365a2c796c70dc0526e894bb02412ebe8c34c890
365a2c7https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/365a2c796c70dc0526e894bb02412ebe8c34c890
https://github.com/emosenkis
Fix tests on Python < 3.10https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/bd849eca03002fb1bbc44b7a6b1d69e66683066f
bd849echttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/bd849eca03002fb1bbc44b7a6b1d69e66683066f
https://github.com/emosenkis
Fix coverage for almost all lines.https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/5c2a0f74121297584d555554a248945f7dd3b539
5c2a0f7https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/5c2a0f74121297584d555554a248945f7dd3b539
https://github.com/emosenkis
Add test coverage of last missing line.https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/125ae6a18b2c391e91f4d9bd4b8ecc6c6f4a1d7b
125ae6ahttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/125ae6a18b2c391e91f4d9bd4b8ecc6c6f4a1d7b
https://github.com/dbanty
Add docs & changesethttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/53d28a82e224227d69556c2308ac14aa935dd23f
53d28a8https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/53d28a82e224227d69556c2308ac14aa935dd23f
https://github.com/dbanty
Merge branch 'main' into em/literal-enumshttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/ee5d411c96b2e5d0cbc783e5fa4a51c4a87a6c22
ee5d411https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/ee5d411c96b2e5d0cbc783e5fa4a51c4a87a6c22
https://github.com/dbanty
Update snapshotshttps://github.com/openapi-generators/openapi-python-client/pull/1142/commits/65bb032f902cd97c180e94eb7ff5888d5b382076
65bb032https://github.com/openapi-generators/openapi-python-client/pull/1142/commits/65bb032f902cd97c180e94eb7ff5888d5b382076
https://github.com/dbanty
dbantyhttps://github.com/dbanty
8864a5fhttps://github.com/openapi-generators/openapi-python-client/commit/8864a5f57a45f557fe62bdea87558673f1b396c5
Oct 20, 2024https://github.com/openapi-generators/openapi-python-client/pull/1142#event-14755508551
https://github.com/dbanty
dbantyhttps://github.com/dbanty
October 20, 2024 22:29https://github.com/openapi-generators/openapi-python-client/pull/1142#event-14755508600
https://github.com/dbanty
dbantyhttps://github.com/dbanty
Oct 20, 2024 https://github.com/openapi-generators/openapi-python-client/pull/1142#ref-pullrequest-2501507545
feat: add literal_enums setting to produce Literal[...] instead of enum classes. #1114 https://github.com/openapi-generators/openapi-python-client/pull/1114
micha91https://github.com/micha91
May 13, 2025 https://github.com/openapi-generators/openapi-python-client/pull/1142#ref-commit-10a867f
https://github.com/dbanty
https://github.com/emosenkis
https://github.com/micha91
Literal enums support! (https://github.com/micha91/openapi-python-client/commit/10a867f1b10e1554fcd72b1155c3ae910b2bcf58
openapi-generators#1142https://github.com/openapi-generators/openapi-python-client/pull/1142
)https://github.com/micha91/openapi-python-client/commit/10a867f1b10e1554fcd72b1155c3ae910b2bcf58
10a867fhttps://github.com/micha91/openapi-python-client/commit/10a867f1b10e1554fcd72b1155c3ae910b2bcf58
openapi-generators#1114https://github.com/openapi-generators/openapi-python-client/pull/1114
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%2F1142
Please reload this pagehttps://github.com/openapi-generators/openapi-python-client/pull/1142
https://github.com/dbanty
https://github.com/emosenkis
https://github.com/apps/copilot-swe-agent
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.