Title: Add @docs_group decorator to generated models · Issue #642 · apify/apify-client-python · GitHub
Open Graph Title: Add @docs_group decorator to generated models · Issue #642 · apify/apify-client-python
X Title: Add @docs_group decorator to generated models · Issue #642 · apify/apify-client-python
Description: Context In PR #638, we added @docs_group decorators to all public classes for improved API reference documentation grouping. However, src/apify_client/_models.py is a generated file, so the decorators were reverted. Task Add @docs_group(...
Open Graph Description: Context In PR #638, we added @docs_group decorators to all public classes for improved API reference documentation grouping. However, src/apify_client/_models.py is a generated file, so the decorat...
X Description: Context In PR #638, we added @docs_group decorators to all public classes for improved API reference documentation grouping. However, src/apify_client/_models.py is a generated file, so the decorat...
Opengraph URL: https://github.com/apify/apify-client-python/issues/642
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add @docs_group decorator to generated models","articleBody":"## Context\n\nIn PR #638, we added `@docs_group` decorators to all public classes for improved API reference documentation grouping. However, `src/apify_client/_models.py` is a generated file, so the decorators were reverted.\n\n## Task\n\nAdd `@docs_group('Models')` decorators to all model classes in `_models.py`. Since this file is generated, this needs to be done via post-processing (e.g. a script that adds the decorators after code generation) rather than editing the file directly.\n\nThis includes:\n- Adding the `from apify_client._docs import docs_group` import\n- Adding `@docs_group('Models')` to all model classes (BaseModel subclasses, StrEnum subclasses, etc.)\n- Integrating the post-processing step into the code generation pipeline","author":{"url":"https://github.com/vdusek","@type":"Person","name":"vdusek"},"datePublished":"2026-02-24T10:15:10Z","url":"https://github.com/apify/apify-client-python/issues/642"}
| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2c18556a-99df-2aa4-1f7a-d492a60ce745 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E032:1DD784:DC02A0:127520B:6B0054EE |
| html-safe-nonce | 62cb54e4ad8f1293e7c4cf4c5ba4144d236ccc88a348609b874fa88ed4095d2c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDMyOjFERDc4NDpEQzAyQTA6MTI3NTIwQjo2QjAwNTRFRSIsInZpc2l0b3JfaWQiOiI3MTE2NDQ1ODMxMjUwNTk3MTAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0af667b758166c464322274b0b00f1452b76dd4eefb3c7f314520d00c3b5df97 |
| hovercard-subject-tag | issue:3982752019 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apify/apify-client-python/642/issue_layout |
| twitter:image | https://opengraph.githubassets.com/11eef0c1fc27f8074dad552eb3425e88fb97fd324585624c42cbef90bdbe42f9/apify/apify-client-python/issues/642 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/11eef0c1fc27f8074dad552eb3425e88fb97fd324585624c42cbef90bdbe42f9/apify/apify-client-python/issues/642 |
| og:image:alt | Context In PR #638, we added @docs_group decorators to all public classes for improved API reference documentation grouping. However, src/apify_client/_models.py is a generated file, so the decorat... |
| 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 | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| turbo-cache-control | no-preview |
| 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 | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width