René's URL Explorer Experiment


Title: add Timer decorator support partial function by dafu-wu · Pull Request #858 · prometheus/client_python · GitHub

Open Graph Title: add Timer decorator support partial function by dafu-wu · Pull Request #858 · prometheus/client_python

X Title: add Timer decorator support partial function by dafu-wu · Pull Request #858 · prometheus/client_python

Description: When we use time to decorate a partial function, I get an cannot decorate partial function error. Should we use timer to support partial functions @hynek @csmarchbanks ? I thought it should be adde...

Open Graph Description: When we use time to decorate a partial function, I get an cannot decorate partial function error. Should we use timer to support partial functions @hynek @csmarchbanks ? I thought it should be adde...

X Description: When we use time to decorate a partial function, I get an cannot decorate partial function error. Should we use timer to support partial functions @hynek @csmarchbanks ? I thought it should be adde...

Opengraph URL: https://github.com/prometheus/client_python/pull/858

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f82b2dda-edf9-e61e-a479-207ce1959a1c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA3B0:3BE5B5:DF01:11035:697013A4
html-safe-nonce95f88ffd19b52b62ead87ff1d5491d3dac2ebe4218214b44d6663a2e6c46150d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0IwOjNCRTVCNTpERjAxOjExMDM1OjY5NzAxM0E0IiwidmlzaXRvcl9pZCI6IjIwNTg0MjMyMDc5MTkwOTY3NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0db80b404a7e064878e50c739839b95cbc490f42680298606c8f5b273dd930f1
hovercard-subject-tagpull_request:1129707341
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/prometheus/client_python/858/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1b34e951cbf2626bd59d49bfd6453f5c0893cc4892155659117c7c14ca1c1087/prometheus/client_python/pull/858
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1b34e951cbf2626bd59d49bfd6453f5c0893cc4892155659117c7c14ca1c1087/prometheus/client_python/pull/858
og:image:altWhen we use time to decorate a partial function, I get an cannot decorate partial function error. Should we use timer to support partial functions @hynek @csmarchbanks ? I thought it should be adde...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedafu-wu
hostnamegithub.com
expected-hostnamegithub.com
None043a09521e81f00c45482046b3f38390b8b292cf9a86ad665a632633a072c05c
turbo-cache-controlno-preview
go-importgithub.com/prometheus/client_python git https://github.com/prometheus/client_python.git
octolytics-dimension-user_id3380462
octolytics-dimension-user_loginprometheus
octolytics-dimension-repository_id30618733
octolytics-dimension-repository_nwoprometheus/client_python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id30618733
octolytics-dimension-repository_network_root_nwoprometheus/client_python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release98881eadf8ae73000970c42161c094b0809b1330
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/858#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_python%2Fpull%2F858
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_python%2Fpull%2F858
Sign up https://patch-diff.githubusercontent.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
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/858
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/858
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/858
prometheus https://patch-diff.githubusercontent.com/prometheus
client_pythonhttps://patch-diff.githubusercontent.com/prometheus/client_python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fprometheus%2Fclient_python
Fork 841 https://patch-diff.githubusercontent.com/login?return_to=%2Fprometheus%2Fclient_python
Star 4.3k https://patch-diff.githubusercontent.com/login?return_to=%2Fprometheus%2Fclient_python
Code https://patch-diff.githubusercontent.com/prometheus/client_python
Issues 108 https://patch-diff.githubusercontent.com/prometheus/client_python/issues
Pull requests 28 https://patch-diff.githubusercontent.com/prometheus/client_python/pulls
Discussions https://patch-diff.githubusercontent.com/prometheus/client_python/discussions
Actions https://patch-diff.githubusercontent.com/prometheus/client_python/actions
Projects 0 https://patch-diff.githubusercontent.com/prometheus/client_python/projects
Wiki https://patch-diff.githubusercontent.com/prometheus/client_python/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/prometheus/client_python/security
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/858
Insights https://patch-diff.githubusercontent.com/prometheus/client_python/pulse
Code https://patch-diff.githubusercontent.com/prometheus/client_python
Issues https://patch-diff.githubusercontent.com/prometheus/client_python/issues
Pull requests https://patch-diff.githubusercontent.com/prometheus/client_python/pulls
Discussions https://patch-diff.githubusercontent.com/prometheus/client_python/discussions
Actions https://patch-diff.githubusercontent.com/prometheus/client_python/actions
Projects https://patch-diff.githubusercontent.com/prometheus/client_python/projects
Wiki https://patch-diff.githubusercontent.com/prometheus/client_python/wiki
Security https://patch-diff.githubusercontent.com/prometheus/client_python/security
Insights https://patch-diff.githubusercontent.com/prometheus/client_python/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fprometheus%2Fclient_python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fprometheus%2Fclient_python%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/858#issue-comment-box
dafu-wuhttps://patch-diff.githubusercontent.com/dafu-wu
prometheus:masterhttps://patch-diff.githubusercontent.com/prometheus/client_python/tree/master
dafu-wu:masterhttps://patch-diff.githubusercontent.com/dafu-wu/client_python/tree/master
add Timer decorator support partial function https://patch-diff.githubusercontent.com/prometheus/client_python/pull/858#top
dafu-wuhttps://patch-diff.githubusercontent.com/dafu-wu
prometheus:masterhttps://patch-diff.githubusercontent.com/prometheus/client_python/tree/master
dafu-wu:masterhttps://patch-diff.githubusercontent.com/dafu-wu/client_python/tree/master
Conversation 4 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/858
Commits 1 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/858/commits
Checks 0 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/858/checks
Files changed 1 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/858/files
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/prometheus/client_python/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/dafu-wu
dafu-wuhttps://patch-diff.githubusercontent.com/dafu-wu
Nov 21, 2022https://patch-diff.githubusercontent.com/prometheus/client_python/pull/858#issue-1457554657
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/858
@hynekhttps://github.com/hynek
@csmarchbankshttps://github.com/csmarchbanks
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/858
https://patch-diff.githubusercontent.com/dafu-wu
dafu-wuhttps://patch-diff.githubusercontent.com/dafu-wu
force-pushedhttps://patch-diff.githubusercontent.com/prometheus/client_python/compare/2496d0e0bc92f100902d7aeebad8a81b2142c8f1..7476158f260d76b99ca0bbafccc6b5273599d2cb
2496d0ehttps://patch-diff.githubusercontent.com/prometheus/client_python/commit/2496d0e0bc92f100902d7aeebad8a81b2142c8f1
7476158https://patch-diff.githubusercontent.com/prometheus/client_python/commit/7476158f260d76b99ca0bbafccc6b5273599d2cb
Compare https://patch-diff.githubusercontent.com/prometheus/client_python/compare/2496d0e0bc92f100902d7aeebad8a81b2142c8f1..7476158f260d76b99ca0bbafccc6b5273599d2cb
November 21, 2022 09:02https://patch-diff.githubusercontent.com/prometheus/client_python/pull/858#event-7855240886
https://patch-diff.githubusercontent.com/dafu-wu
add Timer decorator support partial functionhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/858/commits/c5b66b2ab887ede49f67b3a2944266af9f28b925
c5b66b2https://patch-diff.githubusercontent.com/prometheus/client_python/pull/858/commits/c5b66b2ab887ede49f67b3a2944266af9f28b925
https://patch-diff.githubusercontent.com/dafu-wu
dafu-wuhttps://patch-diff.githubusercontent.com/dafu-wu
force-pushedhttps://patch-diff.githubusercontent.com/prometheus/client_python/compare/7476158f260d76b99ca0bbafccc6b5273599d2cb..c5b66b2ab887ede49f67b3a2944266af9f28b925
7476158https://patch-diff.githubusercontent.com/prometheus/client_python/commit/7476158f260d76b99ca0bbafccc6b5273599d2cb
c5b66b2https://patch-diff.githubusercontent.com/prometheus/client_python/commit/c5b66b2ab887ede49f67b3a2944266af9f28b925
Compare https://patch-diff.githubusercontent.com/prometheus/client_python/compare/7476158f260d76b99ca0bbafccc6b5273599d2cb..c5b66b2ab887ede49f67b3a2944266af9f28b925
November 22, 2022 02:10https://patch-diff.githubusercontent.com/prometheus/client_python/pull/858#event-7862861426
https://patch-diff.githubusercontent.com/csmarchbanks
csmarchbankshttps://patch-diff.githubusercontent.com/csmarchbanks
Nov 23, 2022https://patch-diff.githubusercontent.com/prometheus/client_python/pull/858#issuecomment-1325558413
https://github.com/micheles/decoratorhttps://github.com/micheles/decorator
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/858
https://patch-diff.githubusercontent.com/dafu-wu
dafu-wuhttps://patch-diff.githubusercontent.com/dafu-wu
Nov 24, 2022https://patch-diff.githubusercontent.com/prometheus/client_python/pull/858#issuecomment-1325910311
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/858
https://patch-diff.githubusercontent.com/dafu-wu
dafu-wuhttps://patch-diff.githubusercontent.com/dafu-wu
Nov 27, 2022https://patch-diff.githubusercontent.com/prometheus/client_python/pull/858#issuecomment-1328190446
micheles/decorator#150https://github.com/micheles/decorator/pull/150
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/858
https://patch-diff.githubusercontent.com/GhostLyrics
GhostLyricshttps://patch-diff.githubusercontent.com/GhostLyrics
Jan 11, 2023https://patch-diff.githubusercontent.com/prometheus/client_python/pull/858#issuecomment-1379445999
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/858
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_python%2Fpull%2F858
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/858
https://patch-diff.githubusercontent.com/dafu-wu
https://patch-diff.githubusercontent.com/csmarchbanks
https://patch-diff.githubusercontent.com/GhostLyrics
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.