Skip to content

Commit 1329576

Browse files
removed duplicate pass
1 parent f2a52c4 commit 1329576

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/backend/common/database/database_base.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,34 +26,29 @@ class DatabaseBase(ABC):
2626
async def initialize(self) -> None:
2727
"""Initialize the database client and create containers if needed."""
2828
pass
29-
pass
3029

3130
@abstractmethod
3231
async def close(self) -> None:
3332
"""Close database connection."""
3433
pass
35-
pass
3634

3735
# Core CRUD Operations
3836
@abstractmethod
3937
async def add_item(self, item: BaseDataModel) -> None:
4038
"""Add an item to the database."""
4139
pass
42-
pass
4340

4441
@abstractmethod
4542
async def update_item(self, item: BaseDataModel) -> None:
4643
"""Update an item in the database."""
4744
pass
48-
pass
4945

5046
@abstractmethod
5147
async def get_item_by_id(
5248
self, item_id: str, partition_key: str, model_class: Type[BaseDataModel]
5349
) -> Optional[BaseDataModel]:
5450
"""Retrieve an item by its ID and partition key."""
5551
pass
56-
pass
5752

5853
@abstractmethod
5954
async def query_items(
@@ -64,7 +59,6 @@ async def query_items(
6459
) -> List[BaseDataModel]:
6560
"""Query items from the database and return a list of model instances."""
6661
pass
67-
pass
6862

6963
@abstractmethod
7064
async def delete_item(self, item_id: str, partition_key: str) -> None:

0 commit comments

Comments
 (0)