We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56ab5fd commit 9250853Copy full SHA for 9250853
1 file changed
sqlalchemy_bind_manager/_unit_of_work/__init__.py
@@ -42,7 +42,10 @@
42
43
class BaseUnitOfWork(Generic[REPOSITORY, SESSION_HANDLER], ABC):
44
_session_handler: SESSION_HANDLER
45
- _repositories: Dict[str, REPOSITORY] = {}
+ _repositories: Dict[str, REPOSITORY]
46
+
47
+ def __init__(self):
48
+ self._repositories = {}
49
50
def register_repository(
51
self,
0 commit comments