Skip to content

Commit e42ec1d

Browse files
committed
Update base.py
1 parent d08c633 commit e42ec1d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

kaizen/backend/base.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,21 +63,26 @@ def delete_entity_by_id(self, namespace_id: str, entity_id: str):
6363
@abstractmethod
6464
def _validate_namespace(self, namespace_id: str) -> None:
6565
"""Raise NamespaceNotFoundException if the namespace does not exist."""
66+
pass
6667

6768
@abstractmethod
6869
def _add_entity(self, namespace_id: str, entity_type: str, content_str: str, timestamp: int, metadata: dict) -> str:
6970
"""Insert a new entity and return its ID as a string."""
71+
pass
7072

7173
@abstractmethod
7274
def _update_entity(self, namespace_id: str, entity_id: str, entity_type: str, content_str: str, timestamp: int, metadata: dict) -> None:
7375
"""Update an existing entity in-place."""
76+
pass
7477

7578
@abstractmethod
7679
def _delete_entity(self, namespace_id: str, entity_id: str) -> None:
7780
"""Delete an entity by ID."""
81+
pass
7882

7983
def _post_update(self, namespace_id: str) -> None:
8084
"""Hook called after all entity mutations are complete. No-op by default."""
85+
pass
8186

8287
def update_entities(
8388
self,

0 commit comments

Comments
 (0)