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

Function __init__

prometheus_client/decorator.py:287–288  ·  view source on GitHub ↗
(self, g, *a, **k)

Source from the content-addressed store, hash-verified

285n_args = len(init.args)
286if n_args == 2 and not init.varargs: # (self, genobj) Python 2.7
287 def __init__(self, g, *a, **k):
288 return _GeneratorContextManager.__init__(self, g(*a, **k))
289
290
291 ContextManager.__init__ = __init__

Callers

nothing calls this directly

Calls 2

gFunction · 0.50
__init__Method · 0.45

Tested by

no test coverage detected