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 17, 2024
1 parent 7f4ea2a commit 58d9951
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions evmspec/data/_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
from typing_extensions import Self




if TYPE_CHECKING:
from evmspec.structs.log import Log
from evmspec.structs.receipt import TransactionReceipt
Expand Down Expand Up @@ -474,7 +472,8 @@ def ttl_cache(maxsize=128, ttl=600, timer=monotonic, typed=False):
return _cache(TTLCache(128, ttl, timer), 128, typed)(maxsize)
else:
return _cache(TTLCache(maxsize, ttl, timer), maxsize, typed)



def _cache(cache, maxsize, typed):
# reimplement ttl_cache with no RLock for race conditions

Expand Down

0 comments on commit 58d9951

Please sign in to comment.