object_based_datastore #65

Merged
brian merged 10 commits from object_based_datastore into main 2025-01-06 14:48:27 +01:00
Showing only changes of commit 3b677e5e97 - Show all commits
+4 -1
View File
@@ -1,5 +1,7 @@
"""Definition of datastore interface."""
from __future__ import annotations
from abc import ABC, abstractmethod
from collections import OrderedDict
@@ -25,8 +27,9 @@ class DatastoreInterface(ABC):
@abstractmethod
def __enter__(
self,
) -> None:
) -> DatastoreInterface:
self.connect()
return self
@abstractmethod
def __exit__(