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.
- aiteamutils/base_service.py +1 -3
- aiteamutils/files.py +2 -2
- aiteamutils/version.py +1 -1
- {aiteamutils-0.2.141.dist-info → aiteamutils-0.2.143.dist-info}/METADATA +1 -1
- {aiteamutils-0.2.141.dist-info → aiteamutils-0.2.143.dist-info}/RECORD +6 -6
- {aiteamutils-0.2.141.dist-info → aiteamutils-0.2.143.dist-info}/WHEEL +0 -0
aiteamutils/base_service.py
CHANGED
@@ -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(
|
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(
|
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.
|
2
|
+
__version__ = "0.2.143"
|
@@ -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=
|
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=
|
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=
|
14
|
-
aiteamutils-0.2.
|
15
|
-
aiteamutils-0.2.
|
16
|
-
aiteamutils-0.2.
|
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,,
|
File without changes
|