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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiteamutils
3
- Version: 0.2.66
3
+ Version: 0.2.67
4
4
  Summary: AI Team Utilities
5
5
  Project-URL: Homepage, https://github.com/yourusername/aiteamutils
6
6
  Project-URL: Issues, https://github.com/yourusername/aiteamutils/issues
@@ -40,12 +40,24 @@ class BaseRepository(Generic[ModelType]):
40
40
  """
41
41
  엔티티 목록 조회.
42
42
  """
43
- # 기본 CRUD 작업 호출
44
- return await list_entities(
45
- session=self.session,
46
- model=self.model,
47
- skip=skip,
48
- limit=limit,
49
- filters=filters,
50
- joins=joins,
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
+ )
@@ -0,0 +1,2 @@
1
+ """버전 정보"""
2
+ __version__ = "0.2.67"
@@ -1,2 +0,0 @@
1
- """버전 정보"""
2
- __version__ = "0.2.66"
File without changes
File without changes
File without changes
File without changes