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

Method __exit__

prometheus_client/context_managers.py:43–44  ·  view source on GitHub ↗
(self, typ, value, traceback)

Source from the content-addressed store, hash-verified

41 self._gauge.inc()
42
43 def __exit__(self, typ, value, traceback):
44 self._gauge.dec()
45
46 def __call__(self, f: "F") -> "F":
47 def wrapped(func, *args, **kwargs):

Callers

nothing calls this directly

Calls 1

decMethod · 0.80

Tested by

no test coverage detected