MCPcopy Index your code
hub / github.com/prometheus/client_python / __call__

Method __call__

prometheus_client/context_managers.py:28–33  ·  view source on GitHub ↗
(self, f: "F")

Source from the content-addressed store, hash-verified

26 return False
27
28 def __call__(self, f: "F") -> "F":
29 def wrapped(func, *args, **kwargs):
30 with self:
31 return func(*args, **kwargs)
32
33 return decorate(f, wrapped)
34
35
36class InprogressTracker:

Callers

nothing calls this directly

Calls 1

decorateFunction · 0.85

Tested by

no test coverage detected