aiteamutils 0.2.66__tar.gz → 0.2.67__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/PKG-INFO +1 -1
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/aiteamutils/base_repository.py +21 -9
- aiteamutils-0.2.67/aiteamutils/version.py +2 -0
- aiteamutils-0.2.66/aiteamutils/version.py +0 -2
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/.cursorrules +0 -0
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/.gitignore +0 -0
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/README.md +0 -0
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/aiteamutils/__init__.py +0 -0
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/aiteamutils/base_model.py +0 -0
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/aiteamutils/base_service.py +0 -0
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/aiteamutils/cache.py +0 -0
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/aiteamutils/config.py +0 -0
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/aiteamutils/database.py +0 -0
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/aiteamutils/enums.py +0 -0
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/aiteamutils/exceptions.py +0 -0
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/aiteamutils/security.py +0 -0
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/aiteamutils/validators.py +0 -0
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/pyproject.toml +0 -0
- {aiteamutils-0.2.66 → aiteamutils-0.2.67}/setup.py +0 -0
@@ -40,12 +40,24 @@ class BaseRepository(Generic[ModelType]):
|
|
40
40
|
"""
|
41
41
|
엔티티 목록 조회.
|
42
42
|
"""
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
43
|
+
try:
|
44
|
+
# 기본 CRUD 작업 호출
|
45
|
+
return await list_entities(
|
46
|
+
session=self.session,
|
47
|
+
model=self.model,
|
48
|
+
skip=skip,
|
49
|
+
limit=limit,
|
50
|
+
filters=filters,
|
51
|
+
joins=joins,
|
52
|
+
)
|
53
|
+
except CustomException as e:
|
54
|
+
e.detail = f"Repository list error for {self.model.__tablename__}: {e.detail}"
|
55
|
+
e.source_function = f"{self.__class__.__name__}.list -> {e.source_function}"
|
56
|
+
raise e
|
57
|
+
except Exception as e:
|
58
|
+
raise CustomException(
|
59
|
+
ErrorCode.INTERNAL_ERROR,
|
60
|
+
detail=str(e),
|
61
|
+
source_function=f"{self.__class__.__name__}.list",
|
62
|
+
original_error=e
|
63
|
+
)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|