Another `@acm` in `._cacheables` XD

pre_overruns_ctxcancelled
Tyler Goodlet 2023-04-05 11:56:15 -04:00
parent ffea96f1b5
commit d5dacfc7bd
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ Cacheing apis and toolz.
from collections import OrderedDict
from contextlib import (
asynccontextmanager,
asynccontextmanager as acm,
)
from tractor.trionics import maybe_open_context
@ -62,7 +62,7 @@ def async_lifo_cache(maxsize=128):
return decorator
@asynccontextmanager
@acm
async def open_cached_client(
brokername: str,
) -> 'Client': # noqa