René's URL Explorer Experiment


Title: feat!: generate Literal type aliases instead of StrEnum classes by vdusek · Pull Request #759 · apify/apify-client-python · GitHub

Open Graph Title: feat!: generate Literal type aliases instead of StrEnum classes by vdusek · Pull Request #759 · apify/apify-client-python

X Title: feat!: generate Literal type aliases instead of StrEnum classes by vdusek · Pull Request #759 · apify/apify-client-python

Description: Apify API client for Python—Programmatically run Actors, manage and stream data from storages (datasets, key-value stores, request queues), schedule and monitor runs, and access the full Apify platform API. Sync and async interfaces with automatic retries and pagination. - feat!: generate Literal type aliases instead of StrEnum classes by vdusek · Pull Request #759 · apify/apify-client-python

Open Graph Description: Issue Closes Prefer using literal types over enums #576 Description Replaces every generated class X(StrEnum) with a X = Literal[...] alias. Users pass plain strings (status='RUNNING') in...

X Description: Issue Closes Prefer using literal types over enums #576 Description Replaces every generated class X(StrEnum) with a X = Literal[...] alias. Users pass plain strings (status='RUNNING&...

Opengraph URL: https://github.com/apify/apify-client-python/pull/759

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:74594e5a-6b06-d169-93ac-c8953a45e0f6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC552:3A438:90F39:CA83B:6B00620E
html-safe-nonce1ccdd2425c558735b99750ac1facc9f0e4314fe8b5052ac3ba0c786e6335ec40
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTUyOjNBNDM4OjkwRjM5OkNBODNCOjZCMDA2MjBFIiwidmlzaXRvcl9pZCI6IjQ0MjA2MTc2MjY4OTY1ODkzMjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd18ac893a0962dcaa41e35d73c17e3c5f6fea899c755cb54dd7ee4787a679cee
hovercard-subject-tagpull_request:3573151167
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/apify/apify-client-python/759/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/928a2fa7c9cb739deec50d236aaf7702b15b796d3b3b9ca17e569d14713defe8/apify/apify-client-python/pull/759
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/928a2fa7c9cb739deec50d236aaf7702b15b796d3b3b9ca17e569d14713defe8/apify/apify-client-python/pull/759
og:image:altIssue Closes Prefer using literal types over enums #576 Description Replaces every generated class X(StrEnum) with a X = Literal[...] alias. Users pass plain strings (status='RUNNING') in...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevdusek
hostnamegithub.com
expected-hostnamegithub.com
None25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e
turbo-cache-controlno-cache
go-importgithub.com/apify/apify-client-python git https://github.com/apify/apify-client-python.git
octolytics-dimension-user_id24586296
octolytics-dimension-user_loginapify
octolytics-dimension-repository_id164647835
octolytics-dimension-repository_nwoapify/apify-client-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id164647835
octolytics-dimension-repository_network_root_nwoapify/apify-client-python
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
releasee4f5c239e31f1f680e6bbc419ff92d774da616ec
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/apify/apify-client-python/pull/759#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F759
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F759
Sign uphttps://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=apify%2Fapify-client-python
Reloadhttps://github.com/apify/apify-client-python/pull/759
Reloadhttps://github.com/apify/apify-client-python/pull/759
Reloadhttps://github.com/apify/apify-client-python/pull/759
apifyhttps://github.com/apify
apify-client-pythonhttps://github.com/apify/apify-client-python
Codehttps://github.com/apify/apify-client-python
Issues12 (12)https://github.com/apify/apify-client-python/issues
Pull requests2 (2)https://github.com/apify/apify-client-python/pulls
Discussionshttps://github.com/apify/apify-client-python/discussions
Actionshttps://github.com/apify/apify-client-python/actions
Security and qualityhttps://github.com/apify/apify-client-python/security
Insightshttps://github.com/apify/apify-client-python/insights
https://github.com/apify/apify-client-python
vdusekhttps://github.com/vdusek
masterhttps://github.com/apify/apify-client-python/tree/master
feat/literals-instead-of-enumshttps://github.com/apify/apify-client-python/tree/feat/literals-instead-of-enums
Conversationhttps://github.com/apify/apify-client-python/pull/759
Commits5 (5)https://github.com/apify/apify-client-python/pull/759/commits
Checkshttps://github.com/apify/apify-client-python/pull/759/checks
Files changedhttps://github.com/apify/apify-client-python/pull/759/files
feat!: generate Literal type aliases instead of StrEnum classeshttps://github.com/apify/apify-client-python/pull/759#top
vdusekhttps://github.com/vdusek
masterhttps://github.com/apify/apify-client-python/tree/master
feat/literals-instead-of-enumshttps://github.com/apify/apify-client-python/tree/feat/literals-instead-of-enums
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Apr 23, 2026https://github.com/apify/apify-client-python/pull/759#issue-4315990481
Please reload this pagehttps://github.com/apify/apify-client-python/pull/759
Prefer using literal types over enums #576https://github.com/apify/apify-client-python/issues/576
#575https://github.com/apify/apify-client-python/pull/575
koxudaxi/datamodel-code-generator#3104https://github.com/koxudaxi/datamodel-code-generator/issues/3104
#576https://github.com/apify/apify-client-python/issues/576
Please reload this pagehttps://github.com/apify/apify-client-python/pull/759
https://github.com/vdusek
vdusekhttps://github.com/vdusek
adhoc https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Aadhoc
t-tooling https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3At-tooling
Apr 23, 2026https://github.com/apify/apify-client-python/pull/759#event-24795975777
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Apr 23, 2026https://github.com/apify/apify-client-python/pull/759#event-24795976603
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
139th sprint - Tooling teamhttps://github.com/apify/apify-client-python/milestone/637
Apr 23, 2026https://github.com/apify/apify-client-python/pull/759#event-24795982234
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
tested https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Atested
Apr 23, 2026https://github.com/apify/apify-client-python/pull/759#event-24795983005
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Apr 23, 2026https://github.com/apify/apify-client-python/pull/759#issuecomment-4304459805
Please reload this pagehttps://github.com/apify/apify-client-python/pull/759
Codecovhttps://app.codecov.io/gh/apify/apify-client-python/pull/759?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
fe6546bhttps://app.codecov.io/gh/apify/apify-client-python/commit/fe6546b151ccc8d627312deeeeb4c7384d63c6e3?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
475d7b7https://app.codecov.io/gh/apify/apify-client-python/commit/475d7b7f86a2f7732d9beb52cea9a6343ece0fca?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Flaghttps://app.codecov.io/gh/apify/apify-client-python/pull/759/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
integrationhttps://app.codecov.io/gh/apify/apify-client-python/pull/759/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
unithttps://app.codecov.io/gh/apify/apify-client-python/pull/759/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Click herehttps://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify#carryforward-flags-in-the-pull-request-comment
☔ View full report in Codecov by Sentryhttps://app.codecov.io/gh/apify/apify-client-python/pull/759?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
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=apify
Test Analyticshttps://docs.codecov.com/docs/test-analytics
JS Bundle Analysishttps://docs.codecov.com/docs/javascript-bundle-analysis
Please reload this pagehttps://github.com/apify/apify-client-python/pull/759
https://github.com/vdusek
vdusekhttps://github.com/vdusek
force-pushedhttps://github.com/apify/apify-client-python/compare/36b6927f9aa2eb96de24f8bc42138954686ff5d5..b30691317abadd199e61d6e1f3f1c18802aff403
36b6927https://github.com/apify/apify-client-python/commit/36b6927f9aa2eb96de24f8bc42138954686ff5d5
b306913https://github.com/apify/apify-client-python/commit/b30691317abadd199e61d6e1f3f1c18802aff403
Compare https://github.com/apify/apify-client-python/compare/36b6927f9aa2eb96de24f8bc42138954686ff5d5..b30691317abadd199e61d6e1f3f1c18802aff403
April 27, 2026 15:01https://github.com/apify/apify-client-python/pull/759#event-24911238208
https://github.com/vdusek
vdusekhttps://github.com/vdusek
April 27, 2026 15:57https://github.com/apify/apify-client-python/pull/759#event-24913385930
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Pijukatelhttps://github.com/Pijukatel
janbucharhttps://github.com/janbuchar
April 27, 2026 15:58https://github.com/apify/apify-client-python/pull/759#event-24913389433
https://github.com/vdusek
feat: generate Literal type aliases instead of StrEnum classeshttps://github.com/apify/apify-client-python/pull/759/commits/965eb8b9c758d840ebed02fcdcdaf51a4c443f2d
965eb8bhttps://github.com/apify/apify-client-python/pull/759/commits/965eb8b9c758d840ebed02fcdcdaf51a4c443f2d
https://github.com/vdusek
vdusekhttps://github.com/vdusek
force-pushedhttps://github.com/apify/apify-client-python/compare/ff6fa874dbf8d0ddc8b0381b2c65e031f18bbe75..965eb8b9c758d840ebed02fcdcdaf51a4c443f2d
ff6fa87https://github.com/apify/apify-client-python/commit/ff6fa874dbf8d0ddc8b0381b2c65e031f18bbe75
965eb8bhttps://github.com/apify/apify-client-python/commit/965eb8b9c758d840ebed02fcdcdaf51a4c443f2d
Compare https://github.com/apify/apify-client-python/compare/ff6fa874dbf8d0ddc8b0381b2c65e031f18bbe75..965eb8b9c758d840ebed02fcdcdaf51a4c443f2d
April 28, 2026 14:08https://github.com/apify/apify-client-python/pull/759#event-24951192475
https://github.com/janbuchar
janbucharhttps://github.com/janbuchar
Apr 29, 2026 https://github.com/apify/apify-client-python/pull/759#pullrequestreview-4198438041
View reviewed changes https://github.com/apify/apify-client-python/pull/759/files/965eb8b9c758d840ebed02fcdcdaf51a4c443f2d
src/apify_client/_types.pyhttps://github.com/apify/apify-client-python/pull/759/files/965eb8b9c758d840ebed02fcdcdaf51a4c443f2d#diff-21fd1426ea79955e1188ea323570c30c4bac305fd74caff1f0a6793d77e2cdb7
Please reload this pagehttps://github.com/apify/apify-client-python/pull/759
scripts/postprocess_generated_models.pyhttps://github.com/apify/apify-client-python/pull/759/files/965eb8b9c758d840ebed02fcdcdaf51a4c443f2d#diff-3d823c831c8d4464dbfe713701357f5cfde17bd2603e2bf6601a49d842647d91
Please reload this pagehttps://github.com/apify/apify-client-python/pull/759
vdusekhttps://github.com/vdusek
April 30, 2026 01:58https://github.com/apify/apify-client-python/pull/759#commits-pushed-0f2d45c
https://github.com/vdusek
Merge remote-tracking branch 'origin/master' into feat/literals-inste…https://github.com/apify/apify-client-python/pull/759/commits/0f2d45ce1694a536717cd9238531e85998b699f5
0f2d45chttps://github.com/apify/apify-client-python/pull/759/commits/0f2d45ce1694a536717cd9238531e85998b699f5
https://github.com/vdusek
address review feedbackhttps://github.com/apify/apify-client-python/pull/759/commits/a2a18e5ec2b5aabd1c3f5d89d51741bd88adad12
a2a18e5https://github.com/apify/apify-client-python/pull/759/commits/a2a18e5ec2b5aabd1c3f5d89d51741bd88adad12
https://github.com/vdusek
just literals.pyhttps://github.com/apify/apify-client-python/pull/759/commits/f10128787443719db3c2248329df4035aa486c09
f101287https://github.com/apify/apify-client-python/pull/759/commits/f10128787443719db3c2248329df4035aa486c09
https://github.com/vdusek
vdusekhttps://github.com/vdusek
janbucharhttps://github.com/janbuchar
April 30, 2026 08:55https://github.com/apify/apify-client-python/pull/759#event-25026186165
https://github.com/janbuchar
janbucharhttps://github.com/janbuchar
Apr 30, 2026 https://github.com/apify/apify-client-python/pull/759#pullrequestreview-4204196471
View reviewed changes https://github.com/apify/apify-client-python/pull/759/files/f10128787443719db3c2248329df4035aa486c09
janbucharhttps://github.com/janbuchar
https://github.com/apify/apify-client-python/pull/759#pullrequestreview-4204196471
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apify/apify-client-python/pull/759
docs/04_upgrading/upgrading_to_v3.mdxhttps://github.com/apify/apify-client-python/pull/759/files/f10128787443719db3c2248329df4035aa486c09#diff-72ebc946fff81c69371d646b14398a116fd9da9ece90ffa1f7e83cb88eae183b
Please reload this pagehttps://github.com/apify/apify-client-python/pull/759
https://github.com/vdusek
do not use transformation for string literalshttps://github.com/apify/apify-client-python/pull/759/commits/475d7b7f86a2f7732d9beb52cea9a6343ece0fca
475d7b7https://github.com/apify/apify-client-python/pull/759/commits/475d7b7f86a2f7732d9beb52cea9a6343ece0fca
https://github.com/vdusek
vdusekhttps://github.com/vdusek
janbucharhttps://github.com/janbuchar
April 30, 2026 14:03https://github.com/apify/apify-client-python/pull/759#event-25037183531
https://github.com/janbuchar
janbucharhttps://github.com/janbuchar
Apr 30, 2026 https://github.com/apify/apify-client-python/pull/759#pullrequestreview-4205901778
View reviewed changes https://github.com/apify/apify-client-python/pull/759/files/475d7b7f86a2f7732d9beb52cea9a6343ece0fca
janbucharhttps://github.com/janbuchar
https://github.com/apify/apify-client-python/pull/759#pullrequestreview-4205901778
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apify/apify-client-python/pull/759
tests/integration/test_actor.pyhttps://github.com/apify/apify-client-python/pull/759/files/475d7b7f86a2f7732d9beb52cea9a6343ece0fca#diff-6bb072f4ce9ee4ae3aa0c083997253541e7721ea6ac0637e3f7f97a8202f05f7
Please reload this pagehttps://github.com/apify/apify-client-python/pull/759
https://github.com/vdusek
vdusekhttps://github.com/vdusek
May 3, 2026 https://github.com/apify/apify-client-python/pull/759#ref-issue-4372489649
Improve sensitivity of test_list_actors_sorting #773 https://github.com/apify/apify-client-python/issues/773
https://github.com/vdusek
vdusekhttps://github.com/vdusek
2bf5a75https://github.com/apify/apify-client-python/commit/2bf5a75f38a74a48c5c9a9682d9eaf330da27935
May 3, 2026https://github.com/apify/apify-client-python/pull/759#event-25110333881
Please reload this pagehttps://github.com/apify/apify-client-python/pull/759
https://github.com/vdusek
vdusekhttps://github.com/vdusek
May 3, 2026 17:34https://github.com/apify/apify-client-python/pull/759#event-25110334197
https://github.com/vdusek
vdusekhttps://github.com/vdusek
May 3, 2026https://github.com/apify/apify-client-python/pull/759#event-25110342188
https://github.co/hiddenchars
https://github.com/apify/apify-client-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F759
https://github.com/janbuchar
janbuchar https://github.com/janbuchar
https://github.com/apify/apify-client-python/pull/759/files/475d7b7f86a2f7732d9beb52cea9a6343ece0fca
https://github.com/Pijukatel
Pijukatel https://github.com/Pijukatel
Please reload this pagehttps://github.com/apify/apify-client-python/pull/759
https://github.com/vdusek
vdusek https://github.com/vdusek
adhoc https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Aadhoc
t-tooling https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3At-tooling
tested https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Atested
139th sprint - Tooling team https://github.com/apify/apify-client-python/milestone/637
Prefer using literal types over enums https://github.com/apify/apify-client-python/issues/576
Please reload this pagehttps://github.com/apify/apify-client-python/pull/759
https://github.com/vdusek
https://github.com/janbuchar
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.