| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ac8aeb8b-ce0a-ec32-54bf-1137244d653a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DAD8:10046D:2FDB06:3D7576:69740186 |
| html-safe-nonce | 75563a3472744aa802faae3b679c131b1b8031033237d3c6646bb5529fe1ea76 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUQ4OjEwMDQ2RDoyRkRCMDY6M0Q3NTc2OjY5NzQwMTg2IiwidmlzaXRvcl9pZCI6IjM1MTg0NzUwODc5Njg5OTM2NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 837e01eec2d019aa1773403dc698a8d71ef69315d937baa097148601fa38da18 |
| hovercard-subject-tag | pull_request:2585234292 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/polyapi/polyapi-python/pull/53/files |
| twitter:image | https://avatars.githubusercontent.com/u/69091220?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/69091220?s=400&v=4 |
| og:image:alt | Should cache arguments and only rewrite them when there are less restrictive args.
function id and names weren't arguments, I think, so I added those as arguments to generate. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2e0119fb6c27766bcaf7c7facecf6a01e2e3f46178600e1ae4cd18f39f26d07e |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/polyapi/polyapi-python git https://github.com/polyapi/polyapi-python.git |
| octolytics-dimension-user_id | 124421413 |
| octolytics-dimension-user_login | polyapi |
| octolytics-dimension-repository_id | 720191438 |
| octolytics-dimension-repository_nwo | polyapi/polyapi-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 720191438 |
| octolytics-dimension-repository_network_root_nwo | polyapi/polyapi-python |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 537b85d925713805fbaf32aee83b4c1b4506dd82 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/polyapi/polyapi-python/pull/53/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpolyapi%2Fpolyapi-python%2Fpull%2F53%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2Fpolyapi%2Fpolyapi-python%2Fpull%2F53%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=polyapi%2Fpolyapi-python |
| Reload | https://github.com/polyapi/polyapi-python/pull/53/files |
| Reload | https://github.com/polyapi/polyapi-python/pull/53/files |
| Reload | https://github.com/polyapi/polyapi-python/pull/53/files |
|
polyapi
| https://github.com/polyapi |
| polyapi-python | https://github.com/polyapi/polyapi-python |
|
Notifications
| https://github.com/login?return_to=%2Fpolyapi%2Fpolyapi-python |
|
Fork
1
| https://github.com/login?return_to=%2Fpolyapi%2Fpolyapi-python |
|
Star
5
| https://github.com/login?return_to=%2Fpolyapi%2Fpolyapi-python |
|
Code
| https://github.com/polyapi/polyapi-python |
|
Pull requests
0
| https://github.com/polyapi/polyapi-python/pulls |
|
Actions
| https://github.com/polyapi/polyapi-python/actions |
|
Projects
0
| https://github.com/polyapi/polyapi-python/projects |
|
Security
0
| https://github.com/polyapi/polyapi-python/security |
|
Insights
| https://github.com/polyapi/polyapi-python/pulse |
|
Code
| https://github.com/polyapi/polyapi-python |
|
Pull requests
| https://github.com/polyapi/polyapi-python/pulls |
|
Actions
| https://github.com/polyapi/polyapi-python/actions |
|
Projects
| https://github.com/polyapi/polyapi-python/projects |
|
Security
| https://github.com/polyapi/polyapi-python/security |
|
Insights
| https://github.com/polyapi/polyapi-python/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpolyapi%2Fpolyapi-python%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpolyapi%2Fpolyapi-python%2Fissues%2Fnew%2Fchoose |
| Ash1R | https://github.com/Ash1R |
| develop | https://github.com/polyapi/polyapi-python/tree/develop |
| 4523-Fix-Python-client-to-save-generate-command-arguments-and-reuse-them | https://github.com/polyapi/polyapi-python/tree/4523-Fix-Python-client-to-save-generate-command-arguments-and-reuse-them |
|
Conversation
12
| https://github.com/polyapi/polyapi-python/pull/53 |
|
Commits
8
| https://github.com/polyapi/polyapi-python/pull/53/commits |
|
Checks
0
| https://github.com/polyapi/polyapi-python/pull/53/checks |
|
Files changed
| https://github.com/polyapi/polyapi-python/pull/53/files |
| Please reload this page | https://github.com/polyapi/polyapi-python/pull/53/files |
|
4523 fix python client to save generate command arguments and reuse them
| https://github.com/polyapi/polyapi-python/pull/53/files#top |
|
Show all changes
8 commits
| https://github.com/polyapi/polyapi-python/pull/53/files |
|
f836f9a
Add caching for all arguments, add names and function-ids arguments
Jun 11, 2025
| https://github.com/polyapi/polyapi-python/pull/53/commits/f836f9aa32d9fa4fc0d98719b237905379362cea |
|
c8efb11
Fix restrictiveness logic to work on all arguments
Ash1R Jun 11, 2025
| https://github.com/polyapi/polyapi-python/pull/53/commits/c8efb11adc5261b32d4f5103a020ba32ae8a8896 |
|
fa7b0fc
Only use cache when indirectly generated
Ash1R Jun 12, 2025
| https://github.com/polyapi/polyapi-python/pull/53/commits/fa7b0fcfcc3193cf606f8fccb045e2f23d9da037 |
|
e156fa7
initialize cache with generate
Ash1R Jun 13, 2025
| https://github.com/polyapi/polyapi-python/pull/53/commits/e156fa7b6d468c2dc2480bdbef926e8fdaa86db5 |
|
69241c0
initialize cache to generate
Ash1R Jun 13, 2025
| https://github.com/polyapi/polyapi-python/pull/53/commits/69241c012cf1614b362adbe185f3657ffdc0feda |
|
729f44a
Update toml and config
Ash1R Jun 18, 2025
| https://github.com/polyapi/polyapi-python/pull/53/commits/729f44a686f8e155c4d8d702d5d755d18f814db8 |
|
f2df12d
Restore Generating... print message
Ash1R Jun 18, 2025
| https://github.com/polyapi/polyapi-python/pull/53/commits/f2df12d42a29535a82f360073cc5ab80a5433b4d |
|
f0a2272
Merge branch 'develop' into 4523-Fix-Python-client-to-save-generate-c…
Ash1R Jun 18, 2025
| https://github.com/polyapi/polyapi-python/pull/53/commits/f0a22723c397abd67239d9efa39575a53b839194 |
|
Clear filters
| https://github.com/polyapi/polyapi-python/pull/53/files |
| Please reload this page | https://github.com/polyapi/polyapi-python/pull/53/files |
| Please reload this page | https://github.com/polyapi/polyapi-python/pull/53/files |
|
cli.py
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-cfba3bf6e5278a0694eb18fed7fdff23ea5f4afe2c677bdfbd85fc4da7caa9f4 |
|
config.py
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-8f3b1d6a3298009bb50d444a040d60ca12bd7c04dc3c0718e6bab495bb443020 |
|
function_cli.py
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-576613ba50dc3af7e0a691bc46b97e02bd50cc14e6069928c52a178ff3f4f0b7 |
|
generate.py
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-20df266e22eb47b97e1331a93ad6d65a8dde08e05cec6ff3a37ea5ca7279891e |
|
pyproject.toml
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
| polyapi/cli.py | https://github.com/polyapi/polyapi-python/pull/53/files#diff-cfba3bf6e5278a0694eb18fed7fdff23ea5f4afe2c677bdfbd85fc4da7caa9f4 |
|
View file
| https://github.com/polyapi/polyapi-python/blob/f0a22723c397abd67239d9efa39575a53b839194/polyapi/cli.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/polyapi/polyapi-python/pull/53/{{ revealButtonHref }} |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-cfba3bf6e5278a0694eb18fed7fdff23ea5f4afe2c677bdfbd85fc4da7caa9f4 |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-cfba3bf6e5278a0694eb18fed7fdff23ea5f4afe2c677bdfbd85fc4da7caa9f4 |
| aarongoin | https://github.com/aarongoin |
| Jun 13, 2025 | https://github.com/polyapi/polyapi-python/pull/53/files#r2146270552 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/polyapi/polyapi-python/pull/53/files |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-cfba3bf6e5278a0694eb18fed7fdff23ea5f4afe2c677bdfbd85fc4da7caa9f4 |
| polyapi/config.py | https://github.com/polyapi/polyapi-python/pull/53/files#diff-8f3b1d6a3298009bb50d444a040d60ca12bd7c04dc3c0718e6bab495bb443020 |
|
View file
| https://github.com/polyapi/polyapi-python/blob/f0a22723c397abd67239d9efa39575a53b839194/polyapi/config.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/polyapi/polyapi-python/pull/53/{{ revealButtonHref }} |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-8f3b1d6a3298009bb50d444a040d60ca12bd7c04dc3c0718e6bab495bb443020 |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-8f3b1d6a3298009bb50d444a040d60ca12bd7c04dc3c0718e6bab495bb443020 |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-8f3b1d6a3298009bb50d444a040d60ca12bd7c04dc3c0718e6bab495bb443020 |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-8f3b1d6a3298009bb50d444a040d60ca12bd7c04dc3c0718e6bab495bb443020 |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-8f3b1d6a3298009bb50d444a040d60ca12bd7c04dc3c0718e6bab495bb443020 |
| polyapi/function_cli.py | https://github.com/polyapi/polyapi-python/pull/53/files#diff-576613ba50dc3af7e0a691bc46b97e02bd50cc14e6069928c52a178ff3f4f0b7 |
|
View file
| https://github.com/polyapi/polyapi-python/blob/f0a22723c397abd67239d9efa39575a53b839194/polyapi/function_cli.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/polyapi/polyapi-python/pull/53/{{ revealButtonHref }} |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-576613ba50dc3af7e0a691bc46b97e02bd50cc14e6069928c52a178ff3f4f0b7 |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-576613ba50dc3af7e0a691bc46b97e02bd50cc14e6069928c52a178ff3f4f0b7 |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-576613ba50dc3af7e0a691bc46b97e02bd50cc14e6069928c52a178ff3f4f0b7 |
| polyapi/generate.py | https://github.com/polyapi/polyapi-python/pull/53/files#diff-20df266e22eb47b97e1331a93ad6d65a8dde08e05cec6ff3a37ea5ca7279891e |
|
View file
| https://github.com/polyapi/polyapi-python/blob/f0a22723c397abd67239d9efa39575a53b839194/polyapi/generate.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/polyapi/polyapi-python/pull/53/{{ revealButtonHref }} |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-20df266e22eb47b97e1331a93ad6d65a8dde08e05cec6ff3a37ea5ca7279891e |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-20df266e22eb47b97e1331a93ad6d65a8dde08e05cec6ff3a37ea5ca7279891e |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-20df266e22eb47b97e1331a93ad6d65a8dde08e05cec6ff3a37ea5ca7279891e |
| aarongoin | https://github.com/aarongoin |
| Jun 13, 2025 | https://github.com/polyapi/polyapi-python/pull/53/files#r2146267153 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/polyapi/polyapi-python/pull/53/files |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-20df266e22eb47b97e1331a93ad6d65a8dde08e05cec6ff3a37ea5ca7279891e |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-20df266e22eb47b97e1331a93ad6d65a8dde08e05cec6ff3a37ea5ca7279891e |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-20df266e22eb47b97e1331a93ad6d65a8dde08e05cec6ff3a37ea5ca7279891e |
| pyproject.toml | https://github.com/polyapi/polyapi-python/pull/53/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
View file
| https://github.com/polyapi/polyapi-python/blob/f0a22723c397abd67239d9efa39575a53b839194/pyproject.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/polyapi/polyapi-python/pull/53/{{ revealButtonHref }} |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
| https://github.com/polyapi/polyapi-python/pull/53/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
| 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 |