Skip to content

Commit

Permalink
chore: black .
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 19, 2024
1 parent e6a6ff6 commit 4384dd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eth_portfolio/_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_cache_file_path(args, kwargs):

if inspect.iscoroutinefunction(fn):
queue = Queue()

async def cache_deco_worker_coro() -> NoReturn:
try:
while True:
Expand All @@ -46,7 +46,7 @@ async def cache_deco_worker_coro() -> NoReturn:
return loads(await f.read())
except EOFError:
pass

async_result: T = await fn(*args, **kwargs)
try:
await __cache_write(cache_path, async_result)
Expand Down

0 comments on commit 4384dd6

Please sign in to comment.