| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ed0ea321-7359-85cc-c5d0-e5c6e9a6bf70 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BF22:AC7DC:BAFDC3:1107DDD:6A4E23A9 |
| html-safe-nonce | bd10cc553eafa809a9abb619b4bc2c4c01db66f55041c66789cb553685d38ff7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjIyOkFDN0RDOkJBRkRDMzoxMTA3REREOjZBNEUyM0E5IiwidmlzaXRvcl9pZCI6IjQ2NTk3OTUxODU4NDM5NzA5ODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7f58fe3f7615b0bec1aff5c09716166b87102ad1507e2ffdd552feb62af6dd3d |
| hovercard-subject-tag | pull_request:1505383744 |
| 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/googleapis/python-api-core/pull/526/files |
| twitter:image | https://avatars.githubusercontent.com/u/3914119?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3914119?s=400&v=4 |
| og:image:alt | _to_grpc_metadata is used to convert a tuple of string metadata into the proper GCP routing format. It is part of the hot-path of rpcs with routing info, and it adds a noticable cost to each rpc. ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/googleapis/python-api-core git https://github.com/googleapis/python-api-core.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992456 |
| octolytics-dimension-repository_nwo | googleapis/python-api-core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992456 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-api-core |
| 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 | 5fe497b4815fcce3df76c0e246faa739a82c3124 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/googleapis/python-api-core/pull/526/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-api-core%2Fpull%2F526%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| 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 |
| GitHub Stars | https://stars.github.com |
| 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%2Fgoogleapis%2Fpython-api-core%2Fpull%2F526%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=googleapis%2Fpython-api-core |
| Reload | https://github.com/googleapis/python-api-core/pull/526/files |
| Reload | https://github.com/googleapis/python-api-core/pull/526/files |
| Reload | https://github.com/googleapis/python-api-core/pull/526/files |
| Please reload this page | https://github.com/googleapis/python-api-core/pull/526/files |
|
googleapis
| https://github.com/googleapis |
| python-api-core | https://github.com/googleapis/python-api-core |
|
Notifications
| https://github.com/login?return_to=%2Fgoogleapis%2Fpython-api-core |
|
Fork
97
| https://github.com/login?return_to=%2Fgoogleapis%2Fpython-api-core |
|
Star
144
| https://github.com/login?return_to=%2Fgoogleapis%2Fpython-api-core |
|
Code
| https://github.com/googleapis/python-api-core |
|
Issues
0
| https://github.com/googleapis/python-api-core/issues |
|
Pull requests
0
| https://github.com/googleapis/python-api-core/pulls |
|
Actions
| https://github.com/googleapis/python-api-core/actions |
|
Projects
| https://github.com/googleapis/python-api-core/projects |
|
Security and quality
0
| https://github.com/googleapis/python-api-core/security |
|
Insights
| https://github.com/googleapis/python-api-core/pulse |
|
Code
| https://github.com/googleapis/python-api-core |
|
Issues
| https://github.com/googleapis/python-api-core/issues |
|
Pull requests
| https://github.com/googleapis/python-api-core/pulls |
|
Actions
| https://github.com/googleapis/python-api-core/actions |
|
Projects
| https://github.com/googleapis/python-api-core/projects |
|
Security and quality
| https://github.com/googleapis/python-api-core/security |
|
Insights
| https://github.com/googleapis/python-api-core/pulse |
| daniel-sanche | https://github.com/daniel-sanche |
| main | https://github.com/googleapis/python-api-core/tree/main |
| routing-header-cache | https://github.com/googleapis/python-api-core/tree/routing-header-cache |
|
Conversation
6
| https://github.com/googleapis/python-api-core/pull/526 |
|
Commits
15
| https://github.com/googleapis/python-api-core/pull/526/commits |
|
Checks
0
| https://github.com/googleapis/python-api-core/pull/526/checks |
|
Files changed
| https://github.com/googleapis/python-api-core/pull/526/files |
| Please reload this page | https://github.com/googleapis/python-api-core/pull/526/files |
|
feat: add caching to routing header calculation
| https://github.com/googleapis/python-api-core/pull/526/files#top |
|
Show all changes
15 commits
| https://github.com/googleapis/python-api-core/pull/526/files |
|
30189ea
feat: add caching to routing header
daniel-sanche Sep 6, 2023
| https://github.com/googleapis/python-api-core/pull/526/commits/30189eaa1fc4689b5bfefb682add0faa56555672 |
|
9ae434c
added constant for cache size
daniel-sanche Sep 6, 2023
| https://github.com/googleapis/python-api-core/pull/526/commits/9ae434cfa1469f5c1aba4872e6861d3993b1ecf3 |
|
cf34a3a
Merge branch 'main' into routing-header-cache
daniel-sanche Sep 19, 2023
| https://github.com/googleapis/python-api-core/pull/526/commits/cf34a3a316502e73e9180d2e2b0a518c2e6bdda5 |
|
2eb47ff
Merge branch 'main' into routing-header-cache
daniel-sanche Oct 6, 2023
| https://github.com/googleapis/python-api-core/pull/526/commits/2eb47ff8fe620b0db85c7dac0bf45d64ce0e622d |
|
deb13c3
moved cacheing into helper
daniel-sanche Oct 6, 2023
| https://github.com/googleapis/python-api-core/pull/526/commits/deb13c3608c8831dfbc947986724f0d8bcf00782 |
|
6d7c807
cache individual components
daniel-sanche Oct 6, 2023
| https://github.com/googleapis/python-api-core/pull/526/commits/6d7c8079218bda43594a59bce7298bea41c97780 |
|
a2e7575
added tests
daniel-sanche Oct 6, 2023
| https://github.com/googleapis/python-api-core/pull/526/commits/a2e7575efeea25520d2b0c32761f07bddc317588 |
|
651adb9
ran blacken
daniel-sanche Oct 6, 2023
| https://github.com/googleapis/python-api-core/pull/526/commits/651adb9d821081ed731cfe6d81f1964e07d7deba |
|
58d911d
Update test name
daniel-sanche Oct 9, 2023
| https://github.com/googleapis/python-api-core/pull/526/commits/58d911d5a1fb745ee7f0e67f0825ab167ba1e407 |
|
916164f
add comment
daniel-sanche Oct 9, 2023
| https://github.com/googleapis/python-api-core/pull/526/commits/916164f5acd7a32f27a0cce204457367b501bef9 |
|
232148a
improve comments
daniel-sanche Oct 9, 2023
| https://github.com/googleapis/python-api-core/pull/526/commits/232148a8c0130b48fc92e29867aa9ca921901331 |
|
3873e2c
moved comment
daniel-sanche Oct 9, 2023
| https://github.com/googleapis/python-api-core/pull/526/commits/3873e2cd35da03dd8d379de671c6b924cb319e01 |
|
27b1747
Merge branch 'main' into routing-header-cache
daniel-sanche Oct 9, 2023
| https://github.com/googleapis/python-api-core/pull/526/commits/27b1747b9a022f6ecb0373f5bfda4e3fa4ef64af |
|
2f65050
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Oct 9, 2023
| https://github.com/googleapis/python-api-core/pull/526/commits/2f65050583d8a6d5971147dbaad60a6e936694e6 |
|
5a6afd5
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Oct 9, 2023
| https://github.com/googleapis/python-api-core/pull/526/commits/5a6afd5cd3c047d07b1f89286f5918823469245a |
|
Clear filters
| https://github.com/googleapis/python-api-core/pull/526/files |
| Please reload this page | https://github.com/googleapis/python-api-core/pull/526/files |
| Please reload this page | https://github.com/googleapis/python-api-core/pull/526/files |
|
routing_header.py
| https://github.com/googleapis/python-api-core/pull/526/files#diff-a2c5eba1d391f81560683d8833d90c7729ffb1dd4b060ec5eabda5f0deedc37e |
|
test_routing_header.py
| https://github.com/googleapis/python-api-core/pull/526/files#diff-95fcb8e7c734032ed4bbab559b80ed07b2fdca17fdca14faf5d5eba896070250 |
| google/api_core/gapic_v1/routing_header.py | https://github.com/googleapis/python-api-core/pull/526/files#diff-a2c5eba1d391f81560683d8833d90c7729ffb1dd4b060ec5eabda5f0deedc37e |
|
View file
| https://github.com/googleapis/python-api-core/blob/5a6afd5cd3c047d07b1f89286f5918823469245a/google/api_core/gapic_v1/routing_header.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/googleapis/python-api-core/pull/526/{{ revealButtonHref }} |
|
| https://github.com/googleapis/python-api-core/pull/526/files#diff-a2c5eba1d391f81560683d8833d90c7729ffb1dd4b060ec5eabda5f0deedc37e |
|
| https://github.com/googleapis/python-api-core/pull/526/files#diff-a2c5eba1d391f81560683d8833d90c7729ffb1dd4b060ec5eabda5f0deedc37e |
| tests/unit/gapic/test_routing_header.py | https://github.com/googleapis/python-api-core/pull/526/files#diff-95fcb8e7c734032ed4bbab559b80ed07b2fdca17fdca14faf5d5eba896070250 |
|
View file
| https://github.com/googleapis/python-api-core/blob/5a6afd5cd3c047d07b1f89286f5918823469245a/tests/unit/gapic/test_routing_header.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/googleapis/python-api-core/pull/526/{{ revealButtonHref }} |
|
| https://github.com/googleapis/python-api-core/pull/526/files#diff-95fcb8e7c734032ed4bbab559b80ed07b2fdca17fdca14faf5d5eba896070250 |
|
| 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 |