Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yakimka committed Oct 9, 2024
1 parent c800571 commit 46d240f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions picodi/_picodi.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Iterable,
Iterator,
)
from contextlib import asynccontextmanager, contextmanager, nullcontext
from contextlib import asynccontextmanager, contextmanager
from dataclasses import dataclass
from typing import (
Annotated,
Expand Down Expand Up @@ -722,7 +722,7 @@ def _extract_and_register_dependency_from_parameter(
return None


_lock = nullcontext()
_lock = threading.RLock()


class LazyResolver:
Expand Down

0 comments on commit 46d240f

Please sign in to comment.