| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:74594e5a-6b06-d169-93ac-c8953a45e0f6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C552:3A438:90F39:CA83B:6B00620E |
| html-safe-nonce | 1ccdd2425c558735b99750ac1facc9f0e4314fe8b5052ac3ba0c786e6335ec40 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTUyOjNBNDM4OjkwRjM5OkNBODNCOjZCMDA2MjBFIiwidmlzaXRvcl9pZCI6IjQ0MjA2MTc2MjY4OTY1ODkzMjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d18ac893a0962dcaa41e35d73c17e3c5f6fea899c755cb54dd7ee4787a679cee |
| hovercard-subject-tag | pull_request:3573151167 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/apify/apify-client-python/759/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/928a2fa7c9cb739deec50d236aaf7702b15b796d3b3b9ca17e569d14713defe8/apify/apify-client-python/pull/759 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/928a2fa7c9cb739deec50d236aaf7702b15b796d3b3b9ca17e569d14713defe8/apify/apify-client-python/pull/759 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vdusek |
| hostname | github.com |
| expected-hostname | github.com |
| None | 25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e |
| turbo-cache-control | no-cache |
| go-import | github.com/apify/apify-client-python git https://github.com/apify/apify-client-python.git |
| octolytics-dimension-user_id | 24586296 |
| octolytics-dimension-user_login | apify |
| octolytics-dimension-repository_id | 164647835 |
| octolytics-dimension-repository_nwo | apify/apify-client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 164647835 |
| octolytics-dimension-repository_network_root_nwo | apify/apify-client-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e4f5c239e31f1f680e6bbc419ff92d774da616ec |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/apify/apify-client-python/pull/759#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F759 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F759 |
| 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=apify%2Fapify-client-python |
| Reload | https://github.com/apify/apify-client-python/pull/759 |
| Reload | https://github.com/apify/apify-client-python/pull/759 |
| Reload | https://github.com/apify/apify-client-python/pull/759 |
| apify | https://github.com/apify |
| apify-client-python | https://github.com/apify/apify-client-python |
| Code | https://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 |
| Discussions | https://github.com/apify/apify-client-python/discussions |
| Actions | https://github.com/apify/apify-client-python/actions |
| Security and quality | https://github.com/apify/apify-client-python/security |
| Insights | https://github.com/apify/apify-client-python/insights |
| https://github.com/apify/apify-client-python |
| vdusek | https://github.com/vdusek |
| master | https://github.com/apify/apify-client-python/tree/master |
| feat/literals-instead-of-enums | https://github.com/apify/apify-client-python/tree/feat/literals-instead-of-enums |
| Conversation | https://github.com/apify/apify-client-python/pull/759 |
| Commits5 (5) | https://github.com/apify/apify-client-python/pull/759/commits |
| Checks | https://github.com/apify/apify-client-python/pull/759/checks |
| Files changed | https://github.com/apify/apify-client-python/pull/759/files |
| feat!: generate Literal type aliases instead of StrEnum classes | https://github.com/apify/apify-client-python/pull/759#top |
| vdusek | https://github.com/vdusek |
| master | https://github.com/apify/apify-client-python/tree/master |
| feat/literals-instead-of-enums | https://github.com/apify/apify-client-python/tree/feat/literals-instead-of-enums |
|
| https://github.com/vdusek |
| vdusek | https://github.com/vdusek |
| Apr 23, 2026 | https://github.com/apify/apify-client-python/pull/759#issue-4315990481 |
| Please reload this page | https://github.com/apify/apify-client-python/pull/759 |
| Prefer using literal types over enums #576 | https://github.com/apify/apify-client-python/issues/576 |
| #575 | https://github.com/apify/apify-client-python/pull/575 |
| koxudaxi/datamodel-code-generator#3104 | https://github.com/koxudaxi/datamodel-code-generator/issues/3104 |
| #576 | https://github.com/apify/apify-client-python/issues/576 |
| Please reload this page | https://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 |
| Apr 23, 2026 | https://github.com/apify/apify-client-python/pull/759#event-24795975777 |
| https://github.com/vdusek |
| vdusek | https://github.com/vdusek |
| Apr 23, 2026 | https://github.com/apify/apify-client-python/pull/759#event-24795976603 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| 139th sprint - Tooling team | https://github.com/apify/apify-client-python/milestone/637 |
| Apr 23, 2026 | https://github.com/apify/apify-client-python/pull/759#event-24795982234 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
tested
| https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Atested |
| Apr 23, 2026 | https://github.com/apify/apify-client-python/pull/759#event-24795983005 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Apr 23, 2026 | https://github.com/apify/apify-client-python/pull/759#issuecomment-4304459805 |
| Please reload this page | https://github.com/apify/apify-client-python/pull/759 |
| Codecov | https://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 |
| fe6546b | https://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 |
| 475d7b7 | https://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 |
| Flag | https://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 |
| integration | https://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 |
| unit | https://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 here | https://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 Sentry | https://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 here | https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify |
| Test Analytics | https://docs.codecov.com/docs/test-analytics |
| JS Bundle Analysis | https://docs.codecov.com/docs/javascript-bundle-analysis |
| Please reload this page | https://github.com/apify/apify-client-python/pull/759 |
| https://github.com/vdusek |
| vdusek | https://github.com/vdusek |
| force-pushed | https://github.com/apify/apify-client-python/compare/36b6927f9aa2eb96de24f8bc42138954686ff5d5..b30691317abadd199e61d6e1f3f1c18802aff403 |
| 36b6927 | https://github.com/apify/apify-client-python/commit/36b6927f9aa2eb96de24f8bc42138954686ff5d5 |
| b306913 | https://github.com/apify/apify-client-python/commit/b30691317abadd199e61d6e1f3f1c18802aff403 |
|
Compare
| https://github.com/apify/apify-client-python/compare/36b6927f9aa2eb96de24f8bc42138954686ff5d5..b30691317abadd199e61d6e1f3f1c18802aff403 |
| April 27, 2026 15:01 | https://github.com/apify/apify-client-python/pull/759#event-24911238208 |
| https://github.com/vdusek |
| vdusek | https://github.com/vdusek |
| April 27, 2026 15:57 | https://github.com/apify/apify-client-python/pull/759#event-24913385930 |
| https://github.com/vdusek |
| vdusek | https://github.com/vdusek |
| Pijukatel | https://github.com/Pijukatel |
| janbuchar | https://github.com/janbuchar |
| April 27, 2026 15:58 | https://github.com/apify/apify-client-python/pull/759#event-24913389433 |
|
| https://github.com/vdusek |
| feat: generate Literal type aliases instead of StrEnum classes | https://github.com/apify/apify-client-python/pull/759/commits/965eb8b9c758d840ebed02fcdcdaf51a4c443f2d |
| 965eb8b | https://github.com/apify/apify-client-python/pull/759/commits/965eb8b9c758d840ebed02fcdcdaf51a4c443f2d |
| https://github.com/vdusek |
| vdusek | https://github.com/vdusek |
| force-pushed | https://github.com/apify/apify-client-python/compare/ff6fa874dbf8d0ddc8b0381b2c65e031f18bbe75..965eb8b9c758d840ebed02fcdcdaf51a4c443f2d |
| ff6fa87 | https://github.com/apify/apify-client-python/commit/ff6fa874dbf8d0ddc8b0381b2c65e031f18bbe75 |
| 965eb8b | https://github.com/apify/apify-client-python/commit/965eb8b9c758d840ebed02fcdcdaf51a4c443f2d |
|
Compare
| https://github.com/apify/apify-client-python/compare/ff6fa874dbf8d0ddc8b0381b2c65e031f18bbe75..965eb8b9c758d840ebed02fcdcdaf51a4c443f2d |
| April 28, 2026 14:08 | https://github.com/apify/apify-client-python/pull/759#event-24951192475 |
| https://github.com/janbuchar |
| janbuchar | https://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.py | https://github.com/apify/apify-client-python/pull/759/files/965eb8b9c758d840ebed02fcdcdaf51a4c443f2d#diff-21fd1426ea79955e1188ea323570c30c4bac305fd74caff1f0a6793d77e2cdb7 |
| Please reload this page | https://github.com/apify/apify-client-python/pull/759 |
| scripts/postprocess_generated_models.py | https://github.com/apify/apify-client-python/pull/759/files/965eb8b9c758d840ebed02fcdcdaf51a4c443f2d#diff-3d823c831c8d4464dbfe713701357f5cfde17bd2603e2bf6601a49d842647d91 |
| Please reload this page | https://github.com/apify/apify-client-python/pull/759 |
| vdusek | https://github.com/vdusek |
| April 30, 2026 01:58 | https://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 |
| 0f2d45c | https://github.com/apify/apify-client-python/pull/759/commits/0f2d45ce1694a536717cd9238531e85998b699f5 |
|
| https://github.com/vdusek |
| address review feedback | https://github.com/apify/apify-client-python/pull/759/commits/a2a18e5ec2b5aabd1c3f5d89d51741bd88adad12 |
| a2a18e5 | https://github.com/apify/apify-client-python/pull/759/commits/a2a18e5ec2b5aabd1c3f5d89d51741bd88adad12 |
|
| https://github.com/vdusek |
| just literals.py | https://github.com/apify/apify-client-python/pull/759/commits/f10128787443719db3c2248329df4035aa486c09 |
| f101287 | https://github.com/apify/apify-client-python/pull/759/commits/f10128787443719db3c2248329df4035aa486c09 |
| https://github.com/vdusek |
| vdusek | https://github.com/vdusek |
| janbuchar | https://github.com/janbuchar |
| April 30, 2026 08:55 | https://github.com/apify/apify-client-python/pull/759#event-25026186165 |
| https://github.com/janbuchar |
| janbuchar | https://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 |
| janbuchar | https://github.com/janbuchar |
| https://github.com/apify/apify-client-python/pull/759#pullrequestreview-4204196471 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/apify/apify-client-python/pull/759 |
| docs/04_upgrading/upgrading_to_v3.mdx | https://github.com/apify/apify-client-python/pull/759/files/f10128787443719db3c2248329df4035aa486c09#diff-72ebc946fff81c69371d646b14398a116fd9da9ece90ffa1f7e83cb88eae183b |
| Please reload this page | https://github.com/apify/apify-client-python/pull/759 |
|
| https://github.com/vdusek |
| do not use transformation for string literals | https://github.com/apify/apify-client-python/pull/759/commits/475d7b7f86a2f7732d9beb52cea9a6343ece0fca |
| 475d7b7 | https://github.com/apify/apify-client-python/pull/759/commits/475d7b7f86a2f7732d9beb52cea9a6343ece0fca |
| https://github.com/vdusek |
| vdusek | https://github.com/vdusek |
| janbuchar | https://github.com/janbuchar |
| April 30, 2026 14:03 | https://github.com/apify/apify-client-python/pull/759#event-25037183531 |
| https://github.com/janbuchar |
| janbuchar | https://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 |
| janbuchar | https://github.com/janbuchar |
| https://github.com/apify/apify-client-python/pull/759#pullrequestreview-4205901778 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/apify/apify-client-python/pull/759 |
| tests/integration/test_actor.py | https://github.com/apify/apify-client-python/pull/759/files/475d7b7f86a2f7732d9beb52cea9a6343ece0fca#diff-6bb072f4ce9ee4ae3aa0c083997253541e7721ea6ac0637e3f7f97a8202f05f7 |
| Please reload this page | https://github.com/apify/apify-client-python/pull/759 |
| https://github.com/vdusek |
| vdusek | https://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 |
| vdusek | https://github.com/vdusek |
| 2bf5a75 | https://github.com/apify/apify-client-python/commit/2bf5a75f38a74a48c5c9a9682d9eaf330da27935 |
| May 3, 2026 | https://github.com/apify/apify-client-python/pull/759#event-25110333881 |
| Please reload this page | https://github.com/apify/apify-client-python/pull/759 |
| https://github.com/vdusek |
| vdusek | https://github.com/vdusek |
| May 3, 2026 17:34 | https://github.com/apify/apify-client-python/pull/759#event-25110334197 |
| https://github.com/vdusek |
| vdusek | https://github.com/vdusek |
| May 3, 2026 | https://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 free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://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 page | https://github.com/apify/apify-client-python/pull/759 |
|
| https://github.com/vdusek |
|
| https://github.com/janbuchar |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |