Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/prometheus/client_python
/ dec
Function
dec
prometheus_client/decorator.py:385–388 ·
view source on GitHub ↗
(f)
Source
from the content-addressed store, hash-verified
383
check(types)
384
385
def
dec(f):
386
check(getfullargspec(f).args, operator.lt,
' in '
+ f.__name__)
387
typemap[types] = f
388
return
f
389
390
return
dec
391
Callers
nothing calls this directly
Calls
2
check
Function · 0.85
getfullargspec
Class · 0.85
Tested by
no test coverage detected