MCPcopy 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

checkFunction · 0.85
getfullargspecClass · 0.85

Tested by

no test coverage detected