We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 779c363 commit 356700cCopy full SHA for 356700c
prometheus_client/context_managers.py
@@ -29,7 +29,7 @@ def __call__(self, f: "F") -> "F":
29
def wrapped(*args: Any, **kwargs: Any) -> Any:
30
with self:
31
return f(*args, **kwargs)
32
- return wrapped
+ return wrapped # type: ignore
33
34
35
class InprogressTracker:
@@ -47,7 +47,7 @@ def __call__(self, f: "F") -> "F":
47
48
49
50
51
52
53
class Timer:
@@ -78,4 +78,4 @@ def wrapped(*args: Any, **kwargs: Any) -> Any:
78
# ensures thread safety and reentrancy.
79
with self._new_timer():
80
81
0 commit comments