Update doc comment further

This commit is contained in:
Eric Eastwood
2025-06-24 16:50:02 -05:00
parent 3277afd520
commit ee51a45c45
+3 -2
View File
@@ -66,8 +66,9 @@ def measure_func(
) -> Callable[[Callable[P, Awaitable[R]]], Callable[P, Awaitable[R]]]:
"""Decorate an async method with a `Measure` context manager.
The Measure is created using `self.clock`; it should only be used to decorate
methods in classes defining an instance-level `clock` and `metrics_manager` attribute.
The Measure is created using `self.clock` and `self.metrics_manager`; it should only
be used to decorate methods in classes defining an instance-level `clock` and
`metrics_manager` attribute.
Usage: