aiteamutils 0.2.66__py3-none-any.whl → 0.2.67__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
+ )
aiteamutils/version.py CHANGED
@@ -1,2 +1,2 @@
1
1
  """버전 정보"""
2
- __version__ = "0.2.66"
2
+ __version__ = "0.2.67"
@@ -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
@@ -1,6 +1,6 @@
1
1
  aiteamutils/__init__.py,sha256=kRBpRjark0M8ZwFfmKiMFol6CbIILN3WE4f6_P6iIq0,1089
2
2
  aiteamutils/base_model.py,sha256=ODEnjvUVoxQ1RPCfq8-uZTfTADIA4c7Z3E6G4EVsSX0,2708
3
- aiteamutils/base_repository.py,sha256=Vbz2_BGT6gSf8fV2Ph4JWalrsNCDZSjLbOdRwCnz3I4,1540
3
+ aiteamutils/base_repository.py,sha256=tG_xz4hHYAN3-wkrLvEPxyTucV4pzT6dihoKVJp2JIc,2079
4
4
  aiteamutils/base_service.py,sha256=CfNBAgFREqOC1791ex2plKLZiSZ1U5el4GvvkVsN4qU,2901
5
5
  aiteamutils/cache.py,sha256=07xBGlgAwOTAdY5mnMOQJ5EBxVwe8glVD7DkGEkxCtw,1373
6
6
  aiteamutils/config.py,sha256=YdalpJb70-txhGJAS4aaKglEZAFVWgfzw5BXSWpkUz4,3232
@@ -9,7 +9,7 @@ aiteamutils/enums.py,sha256=ipZi6k_QD5-3QV7Yzv7bnL0MjDz-vqfO9I5L77biMKs,632
9
9
  aiteamutils/exceptions.py,sha256=_lKWXq_ujNj41xN6LDE149PwsecAP7lgYWbOBbLOntg,15368
10
10
  aiteamutils/security.py,sha256=xFVrjttxwXB1TTjqgRQQgQJQohQBT28vuW8FVLjvi-M,10103
11
11
  aiteamutils/validators.py,sha256=PvI9hbMEAqTawgxPbiWRyx2r9yTUrpNBQs1AD3w4F2U,7726
12
- aiteamutils/version.py,sha256=sLTec9HL2qseXAi6mzbn7T-ZwoQOncK22kiRkfVSwH8,42
13
- aiteamutils-0.2.66.dist-info/METADATA,sha256=SkG0OhfTLO7TiWa1LtvRjPnBNYPqULCb8sb6PllJ21s,1718
14
- aiteamutils-0.2.66.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
- aiteamutils-0.2.66.dist-info/RECORD,,
12
+ aiteamutils/version.py,sha256=MTMTwYcfdrzu3bcfiYHL8IE-ftmVjE-bJanTxs2Xvgk,42
13
+ aiteamutils-0.2.67.dist-info/METADATA,sha256=3PHskWycEaFCBSCEKvyYtgDZkh-fZv-uTOKEMa6u_Pc,1718
14
+ aiteamutils-0.2.67.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
15
+ aiteamutils-0.2.67.dist-info/RECORD,,