| 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:85f1d378-0e61-eb69-a67d-08ca1891a7d0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 89E8:223B79:312941:42F70A:6A525ABE |
| html-safe-nonce | 6a41b8f7a0d7d75157b6512db605503a7f2aa9f45c3f8b88afc2478708f66e18 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OUU4OjIyM0I3OTozMTI5NDE6NDJGNzBBOjZBNTI1QUJFIiwidmlzaXRvcl9pZCI6IjM5Nzc4OTQ4NjMzMjQ3MzIwOTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 167b62789548083972eaf014a3dfe8029d94a9e55526a98db4e5aac823513e3b |
| hovercard-subject-tag | pull_request:3941544017 |
| 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/prometheus/client_python/1186/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c9312c0040dd4f289338ac498dfb9726bc91a82ad0cd1a5ceda20787a1809e5e/prometheus/client_python/pull/1186 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9312c0040dd4f289338ac498dfb9726bc91a82ad0cd1a5ceda20787a1809e5e/prometheus/client_python/pull/1186 |
| og:image:alt | I'm working on a project where we try to reduce lines flagged as Any by mypy line precision report.
The type of labels() parameters is Any, reducing the whole line as Any (mypy takes the worst ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gregoiredx |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/prometheus/client_python git https://github.com/prometheus/client_python.git |
| octolytics-dimension-user_id | 3380462 |
| octolytics-dimension-user_login | prometheus |
| octolytics-dimension-repository_id | 30618733 |
| octolytics-dimension-repository_nwo | prometheus/client_python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 30618733 |
| octolytics-dimension-repository_network_root_nwo | prometheus/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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/prometheus/client_python/pull/1186#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_python%2Fpull%2F1186 |
| 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/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/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/enterprise/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%2Fprometheus%2Fclient_python%2Fpull%2F1186 |
|
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=prometheus%2Fclient_python |
| Reload | https://github.com/prometheus/client_python/pull/1186 |
| Reload | https://github.com/prometheus/client_python/pull/1186 |
| Reload | https://github.com/prometheus/client_python/pull/1186 |
| Please reload this page | https://github.com/prometheus/client_python/pull/1186 |
|
prometheus
| https://github.com/prometheus |
| client_python | https://github.com/prometheus/client_python |
|
Notifications
| https://github.com/login?return_to=%2Fprometheus%2Fclient_python |
|
Fork
864
| https://github.com/login?return_to=%2Fprometheus%2Fclient_python |
|
Star
4.3k
| https://github.com/login?return_to=%2Fprometheus%2Fclient_python |
|
Code
| https://github.com/prometheus/client_python |
|
Issues
104
| https://github.com/prometheus/client_python/issues |
|
Pull requests
39
| https://github.com/prometheus/client_python/pulls |
|
Discussions
| https://github.com/prometheus/client_python/discussions |
|
Actions
| https://github.com/prometheus/client_python/actions |
|
Projects
| https://github.com/prometheus/client_python/projects |
|
Wiki
| https://github.com/prometheus/client_python/wiki |
|
Security and quality
0
| https://github.com/prometheus/client_python/security |
|
Insights
| https://github.com/prometheus/client_python/pulse |
|
Code
| https://github.com/prometheus/client_python |
|
Issues
| https://github.com/prometheus/client_python/issues |
|
Pull requests
| https://github.com/prometheus/client_python/pulls |
|
Discussions
| https://github.com/prometheus/client_python/discussions |
|
Actions
| https://github.com/prometheus/client_python/actions |
|
Projects
| https://github.com/prometheus/client_python/projects |
|
Wiki
| https://github.com/prometheus/client_python/wiki |
|
Security and quality
| https://github.com/prometheus/client_python/security |
|
Insights
| https://github.com/prometheus/client_python/pulse |
| csmarchbanks | https://github.com/csmarchbanks |
| prometheus:master | https://github.com/prometheus/client_python/tree/master |
| gregoiredx:gdeveaux/labels-object-typing | https://github.com/gregoiredx/client_python/tree/gdeveaux/labels-object-typing |
| Conversation | https://github.com/prometheus/client_python/pull/1186 |
| Commits1 (1) | https://github.com/prometheus/client_python/pull/1186/commits |
| Checks | https://github.com/prometheus/client_python/pull/1186/checks |
| Files changed | https://github.com/prometheus/client_python/pull/1186/files |
| Use object instead of Any for labels() parameters | https://github.com/prometheus/client_python/pull/1186#top |
| csmarchbanks | https://github.com/csmarchbanks |
| prometheus:master | https://github.com/prometheus/client_python/tree/master |
| gregoiredx:gdeveaux/labels-object-typing | https://github.com/gregoiredx/client_python/tree/gdeveaux/labels-object-typing |
|
| https://github.com/gregoiredx |
| gregoiredx | https://github.com/gregoiredx |
| Jun 26, 2026 | https://github.com/prometheus/client_python/pull/1186#issue-4751196159 |
| Please reload this page | https://github.com/prometheus/client_python/pull/1186 |
| mypy line precision report | https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-lineprecision-report |
| https://mypy.readthedocs.io/en/stable/kinds_of_types.html#the-any-type | https://mypy.readthedocs.io/en/stable/kinds_of_types.html#the-any-type |
| Any vs. object | https://mypy.readthedocs.io/en/stable/dynamic_typing.html#any-vs-object |
| Please reload this page | https://github.com/prometheus/client_python/pull/1186 |
| https://github.com/gregoiredx |
| gregoiredx | https://github.com/gregoiredx |
| force-pushed | https://github.com/prometheus/client_python/compare/9c154a6d26657be8cb215a271d2411bf0b52a0b1..49c6c192000297a8b678b6540600da1949debe20 |
| 9c154a6 | https://github.com/prometheus/client_python/commit/9c154a6d26657be8cb215a271d2411bf0b52a0b1 |
| 49c6c19 | https://github.com/prometheus/client_python/commit/49c6c192000297a8b678b6540600da1949debe20 |
|
Compare
| https://github.com/prometheus/client_python/compare/9c154a6d26657be8cb215a271d2411bf0b52a0b1..49c6c192000297a8b678b6540600da1949debe20 |
| June 26, 2026 10:27 | https://github.com/prometheus/client_python/pull/1186#event-27241822480 |
| https://github.com/gregoiredx |
| gregoiredx | https://github.com/gregoiredx |
| June 26, 2026 10:27 | https://github.com/prometheus/client_python/pull/1186#event-27241828407 |
| https://github.com/gregoiredx |
| gregoiredx | https://github.com/gregoiredx |
| Jun 26, 2026 | https://github.com/prometheus/client_python/pull/1186#issuecomment-4808710798 |
| @csmarchbanks | https://github.com/csmarchbanks |
| Please reload this page | https://github.com/prometheus/client_python/pull/1186 |
|
| https://github.com/gregoiredx |
| Use object instead of Any for labels() parameters | https://github.com/prometheus/client_python/pull/1186/commits/757abe80bb8e5d9f164cbfe7acc9b03c9f23acd1 |
| 757abe8 | https://github.com/prometheus/client_python/pull/1186/commits/757abe80bb8e5d9f164cbfe7acc9b03c9f23acd1 |
| https://github.com/gregoiredx |
| gregoiredx | https://github.com/gregoiredx |
| force-pushed | https://github.com/prometheus/client_python/compare/49c6c192000297a8b678b6540600da1949debe20..757abe80bb8e5d9f164cbfe7acc9b03c9f23acd1 |
| 49c6c19 | https://github.com/prometheus/client_python/commit/49c6c192000297a8b678b6540600da1949debe20 |
| 757abe8 | https://github.com/prometheus/client_python/commit/757abe80bb8e5d9f164cbfe7acc9b03c9f23acd1 |
|
Compare
| https://github.com/prometheus/client_python/compare/49c6c192000297a8b678b6540600da1949debe20..757abe80bb8e5d9f164cbfe7acc9b03c9f23acd1 |
| June 26, 2026 10:40 | https://github.com/prometheus/client_python/pull/1186#event-27242228899 |
| https://github.com/csmarchbanks |
| csmarchbanks | https://github.com/csmarchbanks |
|
Jun 26, 2026
| https://github.com/prometheus/client_python/pull/1186#pullrequestreview-4581752898 |
|
View reviewed changes
| https://github.com/prometheus/client_python/pull/1186/files/757abe80bb8e5d9f164cbfe7acc9b03c9f23acd1 |
| csmarchbanks | https://github.com/csmarchbanks |
| https://github.com/prometheus/client_python/pull/1186#pullrequestreview-4581752898 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/prometheus/client_python/pull/1186 |
| https://github.com/gregoiredx |
| gregoiredx | https://github.com/gregoiredx |
| Jun 28, 2026 | https://github.com/prometheus/client_python/pull/1186#issuecomment-4825921494 |
| Please reload this page | https://github.com/prometheus/client_python/pull/1186 |
| mypy doc is pretty clear about that | https://mypy.readthedocs.io/en/stable/kinds_of_types.html#the-any-type |
| object | https://docs.python.org/3/library/functions.html#object |
| Any vs. object | https://mypy.readthedocs.io/en/stable/dynamic_typing.html#any-vs-object |
| mypy reports | https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-lineprecision-report |
| "invariance" | https://mypy.readthedocs.io/en/stable/common_issues.html#variance |
| Please reload this page | https://github.com/prometheus/client_python/pull/1186 |
| https://github.com/gregoiredx |
| gregoiredx | https://github.com/gregoiredx |
| csmarchbanks | https://github.com/csmarchbanks |
| June 28, 2026 11:21 | https://github.com/prometheus/client_python/pull/1186#event-27297765872 |
| https://github.com/csmarchbanks |
| csmarchbanks | https://github.com/csmarchbanks |
|
Jun 30, 2026
| https://github.com/prometheus/client_python/pull/1186#pullrequestreview-4596643895 |
|
View reviewed changes
| https://github.com/prometheus/client_python/pull/1186/files/757abe80bb8e5d9f164cbfe7acc9b03c9f23acd1 |
| csmarchbanks | https://github.com/csmarchbanks |
| https://github.com/prometheus/client_python/pull/1186#pullrequestreview-4596643895 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/prometheus/client_python/pull/1186 |
| https://github.com/csmarchbanks |
| csmarchbanks | https://github.com/csmarchbanks |
| a4bbec9 | https://github.com/prometheus/client_python/commit/a4bbec9edc7bf936af3cf9e829e59ad16083d10b |
| Jun 30, 2026 | https://github.com/prometheus/client_python/pull/1186#event-27356846220 |
| Please reload this page | https://github.com/prometheus/client_python/pull/1186 |
| https://github.com/gregoiredx |
| gregoiredx | https://github.com/gregoiredx |
| Jun 30, 2026 | https://github.com/prometheus/client_python/pull/1186#issuecomment-4840976622 |
| Please reload this page | https://github.com/prometheus/client_python/pull/1186 |
| https://github.co/hiddenchars |
| https://github.com/prometheus/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%2Fprometheus%2Fclient_python%2Fpull%2F1186 |
|
| https://github.com/csmarchbanks |
|
csmarchbanks
| https://github.com/csmarchbanks |
|
| https://github.com/prometheus/client_python/pull/1186/files/757abe80bb8e5d9f164cbfe7acc9b03c9f23acd1 |
| Please reload this page | https://github.com/prometheus/client_python/pull/1186 |
|
| https://github.com/gregoiredx |
|
| https://github.com/csmarchbanks |
|
| 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 |