René's URL Explorer Experiment


Title: feat: add literal_enums setting to produce Literal[...] instead of enum classes. by emosenkis · Pull Request #1114 · openapi-generators/openapi-python-client · GitHub

Open Graph Title: feat: add literal_enums setting to produce Literal[...] instead of enum classes. by emosenkis · Pull Request #1114 · openapi-generators/openapi-python-client

X Title: feat: add literal_enums setting to produce Literal[...] instead of enum classes. by emosenkis · Pull Request #1114 · openapi-generators/openapi-python-client

Description: While attempting to generate a client for https://api.railz.ai/swagger/v2, I ran into duplicate enum values. I tried using the fixes from #725 and #1095 but neither was sufficient because while some duplicates result from case insensitivity, others result from characters (e.g. +) that are stripped when generating the Python name for the value. Allowing enums to be implemented as Literals provides a good alternative that should result in more readable code when an API defines enums that really are a collection of possible values not amenable to representation as a Python enum. This solution works for me and if you're amenable to the idea, I can add tests, etc. to get it ready for merging. Down the line, I can imagine allowing more configuration options, such as using literal enums only for int enums, only for enums with duplicate values, or only for enums that match a regex but I don't know if you're interested in allowing that sort of granular configuration of generated types.

Open Graph Description: While attempting to generate a client for https://api.railz.ai/swagger/v2, I ran into duplicate enum values. I tried using the fixes from #725 and #1095 but neither was sufficient because while som...

X Description: While attempting to generate a client for https://api.railz.ai/swagger/v2, I ran into duplicate enum values. I tried using the fixes from #725 and #1095 but neither was sufficient because while som...

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

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:06a0060e-d16d-bf8b-cb2f-8158caeb12f4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBDBC:2FFD47:394BAD:4E9C46:69811CE3
html-safe-nonce6c48595af06dad2030c37bc682b61d521af8aebe124556bf2f35e5d7c7b309f1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREJDOjJGRkQ0NzozOTRCQUQ6NEU5QzQ2OjY5ODExQ0UzIiwidmlzaXRvcl9pZCI6IjQ2NzM3MzM2MTMxMzE0NzIwOTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacee22b229a22f7bf121fa86042e5123eca89591a89b3506eb70f72259823d178b
hovercard-subject-tagpull_request:2050041102
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/1114/files
twitter:imagehttps://avatars.githubusercontent.com/u/1794126?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1794126?s=400&v=4
og:image:altWhile attempting to generate a client for https://api.railz.ai/swagger/v2, I ran into duplicate enum values. I tried using the fixes from #725 and #1095 but neither was sufficient because while som...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None39fe8101494cbb823c09b619b68c80cd4d05ab7279997038dbe06bb91608abe1
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
released5b34a4e4898b066c629879feb4b184bc471d6a7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#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%2F1114%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%2F1114%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/1114/changes
Reloadhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes
Reloadhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes
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/1114/changes
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
emosenkishttps://patch-diff.githubusercontent.com/emosenkis
openapi-generators:mainhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/tree/main
levrofin:em/literal-enumshttps://patch-diff.githubusercontent.com/levrofin/openapi-python-client/tree/em/literal-enums
Conversation 9 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114
Commits 16 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits
Checks 0 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/checks
Files changed https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/files
Please reload this pagehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes
feat: add literal_enums setting to produce Literal[...] instead of enum classes. https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#top
Show all changes 16 commits https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/files
7052250 Add literal_enums option. emosenkis Sep 2, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/705225055566f43c3076c908363ea507ce5433a6
c319060 Merge branch 'main' into em/literal-enums emosenkis Sep 2, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/c3190605d8d88447476d1260da1fb8d27ae9d10b
7773533 Fix emosenkis Sep 2, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/77735332b5d5d13325f804a4f87616bc23b163a1
268e2ce Merge remote-tracking branch 'upstream/main' into em/literal-enums emosenkis Sep 5, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/268e2ceb577e057125766709267519315346c06e
8a7dccf Format with ruff emosenkis Sep 5, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/8a7dccfa3c3046a1c7cef51773067904bbf488ae
a38b392 Fix bugs and add tests. emosenkis Sep 5, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/a38b39232e16207866dddf15f98e2092621ab0f2
01b4549 Add more tests and suggest literal enums in duplicate enum error. emosenkis Sep 5, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/01b45497bc3683a26e5a65c68fe693f19548ca45
e43830c Membership checking in constructor instead of in isinstance. emosenkis Sep 5, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/e43830ca5bf59a268ad8f1b547d6a6e5bce0ef46
5d5688b Merge remote-tracking branch 'upstream/main' into em/literal-enums emosenkis Sep 8, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/5d5688bb93bfa63b7dafb8c34477011dd15fb3a0
f411c46 Don't use modern union syntax. emosenkis Sep 8, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/f411c46f909956b2462f48c22b37ff3ad6c41862
f6dea8a Drop single-value union emosenkis Sep 8, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/f6dea8ab5f83fe1d7f717221fe61631af43936d7
8f8bff5 Merge remote-tracking branch 'upstream/main' into em/literal-enums emosenkis Sep 9, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/8f8bff5b085fc14d334583acc363fc46168ddc89
365a2c7 Remove usage of | operator. emosenkis Sep 9, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/365a2c796c70dc0526e894bb02412ebe8c34c890
bd849ec Fix tests on Python < 3.10 emosenkis Sep 9, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/bd849eca03002fb1bbc44b7a6b1d69e66683066f
5c2a0f7 Fix coverage for almost all lines. emosenkis Sep 11, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/5c2a0f74121297584d555554a248945f7dd3b539
125ae6a Add test coverage of last missing line. emosenkis Sep 12, 2024 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/commits/125ae6a18b2c391e91f4d9bd4b8ecc6c6f4a1d7b
Clear filters https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/files
Please reload this pagehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes
Please reload this pagehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes
.gitignore https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-0668432106c6a2d8843b8c7e000325a7b94a5f15f1b0c6fdd69e8c02a15cc4c5
README.md https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-be9752467c8bf5a8882db85f4e33b0f27be7e8f205ca98ca0c8166f9ae2b9e47
__init__.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-a4c9a8b3a6135454a372d48ca5f8aa3caaab8bd0b9eab4394d461ed2ea3d7877
__init__.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-33407bf52a690e2ea1798439a424af450a9821c28fed626068bfb858d0382653
__init__.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-512dc1e5052b8b792531c6799cd874f078269815dbd195417af9a8dd6ffa564d
bool_enum_tests_bool_enum_post.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-20644c7d644c24f8550104b6a064a8c11adff2a6dad47cb09d48eab0d59790d9
int_enum_tests_int_enum_post.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-6fc1cd4ba44515a938546a357600abc5fae8a06e2b73d6cef0417a1bf2bd8f1a
__init__.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-7fcdcf1492a6e56253853d55339aa12f15dd281b31e3a2ad597dd2f38d9d5c6a
get_user_list.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-99616c6694cdb0cfc59ed8b9399e1ac27f0b960f8288a918677c7a1383d03c95
post_user_list.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-a7b778bb0d8ec19a4b8369f7cc7d23089ada1eb29cf3c8a8473781a2d6729b66
client.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-983c41d23e95aa624e09fbf38c7e02b3eaccec4d4ec1b0f14ff4e20b26a00d6c
errors.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-7d3be8eb1715693ba126419c751744d73e36d03fc10dfeeb4ddd4625ba348334
__init__.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-85c02daa39fb9f9878608c923d31468f0aeb4c96fd0d900126115816c9df680c
a_model.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-d4e59b8997d0dc80964c8ad9a0e1ba7a5c85d0ceada341294840bf422f07239d
an_all_of_enum.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-70c652186441b4db7d03582b6faa43070f4ae688b5cad441de9531fdeb07c68b
an_enum.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-0c71e7ccbf28d43a709a645d99035cab8cc3f24c19783699af844b09a2b99fd8
an_enum_with_null.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-798e77172422e392786349c4628d5f8780e9f5bb1223c674337d130bd08df255
an_int_enum.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-d6014453846470499171a3a9e682412a5e3a539d02819d9009fecbb356a74775
different_enum.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-7fca0efe43cdf0e64ef8ec96f6fa5c07bb7e0f4a9bd74b9a31212ee63981e4ee
get_user_list_int_enum_header.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-140b893f02ebaf494eebfcc76a7396c662a0bedcfed995cb4da4aac997d5af2e
get_user_list_string_enum_header.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-a278e1b88db864df34789e80b5de46d2169368d2a869abb8ac01b84e300043e2
post_user_list_body.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-5f84c950f20cfc0f3e2178e48fa5b68adcf6c3cd98a2a8e42907a5a918b5b5b9
py.typed https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-e96013a771673666b2334d906762346d18caaddfbff9ba4bdb4a9ce8e3d6e3d9
types.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-cf4b97a67069a36eab60b4103b0a31590ad4f5f7af288b4124b659226c079542
pyproject.toml https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-fb31ce4631a7cc1f098bce6f1415750fe38a7f8620c4cf322be80c08946491e5
literal_enums.config.yml https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-5a4e436dbaf27975be2652ad6379ac73d05d0634f6cabde0773f48d8cea42f4b
openapi_3.1_enums.yaml https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-8a1245d3ba3c6b7497078ab2117013e78be699d55daa67a7513b9c69b7388b80
regen_golden_record.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-4c219b5fe45d6fee63566ee036d7a3e55e21d0c17d1da8c7edbbd20de8f61164
test_end_to_end.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-fe69fa06f5af70c07ef9948041b3efabc3b833665849a9abfbfe026940ad636e
__init__.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-09b57156461c70171a61eab44e8f187348c62378c0d7dfc683d7b64f02dfb2a4
config.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-cf4ddb3efe5c096942c426c2e214746c4d78d57f35c59f7d32438ee1d6160382
openapi.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-2cd9dfe96cd8e9ecebe761183ce03514b1fcc0a5e291bd068ae6f0145729b9e9
__init__.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-61e8ac1a0d02be37f61e720be24f89c399fc6325938adfe140017e45198dc241
enum_property.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-fb0de65c348bbc145f96f06e34cfd9d747de28549407a7206b6f49e4a82a02a1
literal_enum_property.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-3aa124e50e54928c8df0c38140195fe4ea829f3ce70fe06e6c9b32b42f60ebc6
merge_properties.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-ffb5e1aa2463e1fa840ed7fae5f48b5772724e9b3303b4265fb0ee7139f689cb
property.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-507eb5caad8c2851d58e1e5323a29605103e746530a0393caf8ee553d8202da8
endpoint_module.py.jinja https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-0de8437b26075d8fe8454cf47d8d95d4835c7f827fa87328e03f690412be803e
literal_enum.py.jinja https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-61ef72b8f4fe6e5aa23d7fcebb854d2b3322968c42b90c85246b6fb65425fa90
model.py.jinja https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-12c21ac08eab028cb057ed135fd54db54e524ff84c384ebd709922122eba469e
literal_enum_property.py.jinja https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-ef424396afa2465d6b9da8d0ff33c5cc76f2f63e21fdf1b80c58bafbe587a403
conftest.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
test_enum_property.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-8db3655e9d2e9eb61926dd214e1acc679ae98acc5fc069e9b30951b8856f036a
test_init.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-93e7900739ea0ba02a4039d5b1c59d85a32c4113d86118db3b334f07b974f891
test_merge_properties.py https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-f170c167671d2a9bcf97905ab6353d0b7b13856599abdf7303dddaa1312f60af
end_to_end_tests/literal-enums-golden-record/.gitignorehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-0668432106c6a2d8843b8c7e000325a7b94a5f15f1b0c6fdd69e8c02a15cc4c5
View file https://patch-diff.githubusercontent.com/levrofin/openapi-python-client/blob/125ae6a18b2c391e91f4d9bd4b8ecc6c6f4a1d7b/end_to_end_tests/literal-enums-golden-record/.gitignore
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/{{ revealButtonHref }}
end_to_end_tests/literal-enums-golden-record/README.mdhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-be9752467c8bf5a8882db85f4e33b0f27be7e8f205ca98ca0c8166f9ae2b9e47
View file https://patch-diff.githubusercontent.com/levrofin/openapi-python-client/blob/125ae6a18b2c391e91f4d9bd4b8ecc6c6f4a1d7b/end_to_end_tests/literal-enums-golden-record/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/{{ revealButtonHref }}
end_to_end_tests/literal-enums-golden-record/my_enum_api_client/__init__.pyhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-a4c9a8b3a6135454a372d48ca5f8aa3caaab8bd0b9eab4394d461ed2ea3d7877
View file https://patch-diff.githubusercontent.com/levrofin/openapi-python-client/blob/125ae6a18b2c391e91f4d9bd4b8ecc6c6f4a1d7b/end_to_end_tests/literal-enums-golden-record/my_enum_api_client/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/{{ revealButtonHref }}
end_to_end_tests/literal-enums-golden-record/my_enum_api_client/api/__init__.pyhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-33407bf52a690e2ea1798439a424af450a9821c28fed626068bfb858d0382653
View file https://patch-diff.githubusercontent.com/levrofin/openapi-python-client/blob/125ae6a18b2c391e91f4d9bd4b8ecc6c6f4a1d7b/end_to_end_tests/literal-enums-golden-record/my_enum_api_client/api/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/{{ revealButtonHref }}
end_to_end_tests/literal-enums-golden-record/my_enum_api_client/api/enums/__init__.pyhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-512dc1e5052b8b792531c6799cd874f078269815dbd195417af9a8dd6ffa564d
View file https://patch-diff.githubusercontent.com/levrofin/openapi-python-client/blob/125ae6a18b2c391e91f4d9bd4b8ecc6c6f4a1d7b/end_to_end_tests/literal-enums-golden-record/my_enum_api_client/api/enums/__init__.py
Open in desktop https://desktop.github.com
...iteral-enums-golden-record/my_enum_api_client/api/enums/bool_enum_tests_bool_enum_post.pyhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-20644c7d644c24f8550104b6a064a8c11adff2a6dad47cb09d48eab0d59790d9
View file https://patch-diff.githubusercontent.com/levrofin/openapi-python-client/blob/125ae6a18b2c391e91f4d9bd4b8ecc6c6f4a1d7b/end_to_end_tests/literal-enums-golden-record/my_enum_api_client/api/enums/bool_enum_tests_bool_enum_post.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/{{ revealButtonHref }}
.../literal-enums-golden-record/my_enum_api_client/api/enums/int_enum_tests_int_enum_post.pyhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-6fc1cd4ba44515a938546a357600abc5fae8a06e2b73d6cef0417a1bf2bd8f1a
View file https://patch-diff.githubusercontent.com/levrofin/openapi-python-client/blob/125ae6a18b2c391e91f4d9bd4b8ecc6c6f4a1d7b/end_to_end_tests/literal-enums-golden-record/my_enum_api_client/api/enums/int_enum_tests_int_enum_post.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/{{ revealButtonHref }}
end_to_end_tests/literal-enums-golden-record/my_enum_api_client/api/tests/__init__.pyhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes#diff-7fcdcf1492a6e56253853d55339aa12f15dd281b31e3a2ad597dd2f38d9d5c6a
View file https://patch-diff.githubusercontent.com/levrofin/openapi-python-client/blob/125ae6a18b2c391e91f4d9bd4b8ecc6c6f4a1d7b/end_to_end_tests/literal-enums-golden-record/my_enum_api_client/api/tests/__init__.py
Open in desktop https://desktop.github.com
Please reload this pagehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1114/changes
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.