Skip to content

Commit

Permalink
Fix type annotation for _SyncMemo.sync_lock
Browse files Browse the repository at this point in the history
  • Loading branch information
garyd203 authored and cevans87 committed Oct 29, 2020
1 parent 538e564 commit 1c59488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atools/_memoize_decorator.py
Expand Up @@ -43,7 +43,7 @@ class _AsyncMemo(_MemoBase):

@dataclass(frozen=True)
class _SyncMemo(_MemoBase):
sync_lock: AsyncLock = field(init=False, default_factory=lambda: SyncLock())
sync_lock: SyncLock = field(init=False, default_factory=lambda: SyncLock())


_Memo = Union[_AsyncMemo, _SyncMemo]
Expand Down

0 comments on commit 1c59488

Please sign in to comment.