(
*args: _P.args, **kwargs: _P.kwargs # pylint: disable = no-member
)
| 24 | |
| 25 | @functools.wraps(f) |
| 26 | async def wrapper( |
| 27 | *args: _P.args, **kwargs: _P.kwargs # pylint: disable = no-member |
| 28 | ) -> _R: |
| 29 | async with lock: |
| 30 | if args not in cache: |
| 31 | cache[args] = await f(*args, **kwargs) |
| 32 | return cache[args] |
| 33 | |
| 34 | return wrapper |
| 35 |
nothing calls this directly
no test coverage detected
searching dependent graphs…