aiteamutils 0.2.141__py3-none-any.whl → 0.2.143__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -151,7 +151,6 @@ class BaseService(Generic[ModelType]):
151
151
  return entity_data_copy, file_infos
152
152
 
153
153
  except CustomException as e:
154
- # 파일 저장 실패 시 저장된 파일들 삭제
155
154
  if file_infos:
156
155
  from .files import FileHandler
157
156
  for file_list in file_infos.values():
@@ -164,7 +163,6 @@ class BaseService(Generic[ModelType]):
164
163
  original_error=e
165
164
  )
166
165
  except Exception as e:
167
- # 파일 저장 실패 시 저장된 파일들 삭제
168
166
  if file_infos:
169
167
  from .files import FileHandler
170
168
  for file_list in file_infos.values():
@@ -255,7 +253,7 @@ class BaseService(Generic[ModelType]):
255
253
  raise CustomException(
256
254
  ErrorCode.INTERNAL_ERROR,
257
255
  detail=str(e),
258
- source_function=f"base_service.{self.__class__.__name__}.create",
256
+ source_function=f"base_service.{self.__class__.__name__}.create.exception",
259
257
  original_error=e
260
258
  )
261
259
 
aiteamutils/files.py CHANGED
@@ -26,7 +26,7 @@ class FileHandler:
26
26
  except Exception as e:
27
27
  raise CustomException(
28
28
  ErrorCode.FILE_SYSTEM_ERROR,
29
- detail=str(directory),
29
+ detail=f"{directory}|{str(e)}",
30
30
  source_function="FileHandler._create_directory",
31
31
  original_error=e
32
32
  )
@@ -130,7 +130,7 @@ class FileHandler:
130
130
  except Exception as e:
131
131
  raise CustomException(
132
132
  ErrorCode.FILE_SYSTEM_ERROR,
133
- detail=str(storage_path),
133
+ detail=f"{storage_path}|{str(e)}",
134
134
  source_function="FileHandler._save_file",
135
135
  original_error=e
136
136
  )
aiteamutils/version.py CHANGED
@@ -1,2 +1,2 @@
1
1
  """버전 정보"""
2
- __version__ = "0.2.141"
2
+ __version__ = "0.2.143"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiteamutils
3
- Version: 0.2.141
3
+ Version: 0.2.143
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,16 +1,16 @@
1
1
  aiteamutils/__init__.py,sha256=kRBpRjark0M8ZwFfmKiMFol6CbIILN3WE4f6_P6iIq0,1089
2
2
  aiteamutils/base_model.py,sha256=yBZqzTDF9PA4wCAvmYfG12FdVwLtxOEUCcA3z2i6fXU,4176
3
3
  aiteamutils/base_repository.py,sha256=Oy2zE1i5qx60Xf1tnsaKLyFWapiPqt5JH8NejwNrPWg,4647
4
- aiteamutils/base_service.py,sha256=3M2Mnt5Woz9upNethadxrRTd8kpmxgE_uPIgYYjqTWA,20223
4
+ aiteamutils/base_service.py,sha256=3woNhOtjPc0QNwTcyAH1h6psqDY25sV_4wD-tr3jHk4,20101
5
5
  aiteamutils/cache.py,sha256=07xBGlgAwOTAdY5mnMOQJ5EBxVwe8glVD7DkGEkxCtw,1373
6
6
  aiteamutils/config.py,sha256=YdalpJb70-txhGJAS4aaKglEZAFVWgfzw5BXSWpkUz4,3232
7
7
  aiteamutils/database.py,sha256=msvBKtxWeQVOo0v2Q9i2azuTNtnUItuNNar52gdRZTo,20418
8
8
  aiteamutils/enums.py,sha256=7WLqlcJqQWtETAga2WAxNp3dJTQIAd2TW-4WzkoHHa8,2498
9
9
  aiteamutils/exceptions.py,sha256=pgf3ersezObyl17wAO3I2fb8m9t2OzWDX1mSjwAWm2Y,16035
10
- aiteamutils/files.py,sha256=Dfi1rYMBZwV-3GMqZ77_I4BNMpnyL-OBaj9WwZVhCbs,8999
10
+ aiteamutils/files.py,sha256=1XuLAvsQbnURHSZ2IyZIXrZH6OWgnC5Tl1vcTDyi1GY,9017
11
11
  aiteamutils/security.py,sha256=McUl3t5Z5SyUDVUHymHdDkYyF4YSeg4g9fFMML4W6Kw,11630
12
12
  aiteamutils/validators.py,sha256=_WHN6jqJQzKM5uPTg-Da8U2qqevS84XeKMkCCF4C_lY,9591
13
- aiteamutils/version.py,sha256=0QCUDt0xcylZJRMZSBiqnFqBsyUsdARPHNxrKiKuxJs,43
14
- aiteamutils-0.2.141.dist-info/METADATA,sha256=p5daz8rrb2jslha3DxpLf38auLU9H7tIv8va5uxj_Ak,1743
15
- aiteamutils-0.2.141.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- aiteamutils-0.2.141.dist-info/RECORD,,
13
+ aiteamutils/version.py,sha256=9G4P9qltI2Vtwf4PoIM_54O-NL1h1zyzt3BwyK86o58,43
14
+ aiteamutils-0.2.143.dist-info/METADATA,sha256=d9ElwAvXGoaW14-54fZWBRW9rSx8sEzdHCa7j12nO1g,1743
15
+ aiteamutils-0.2.143.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ aiteamutils-0.2.143.dist-info/RECORD,,