aiteamutils 0.2.158__py3-none-any.whl → 0.2.159__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
CHANGED
@@ -58,8 +58,9 @@ class BaseService(Generic[ModelType]):
|
|
58
58
|
|
59
59
|
if 'extra_data' in entity_data_copy and isinstance(entity_data_copy['extra_data'], dict):
|
60
60
|
extra_data = entity_data_copy['extra_data'].copy()
|
61
|
+
fields_to_remove = []
|
61
62
|
|
62
|
-
# 파일 필드 체크
|
63
|
+
# 파일 필드 체크 및 분리 (딕셔너리 수정 없이)
|
63
64
|
for field_name, files in extra_data.items():
|
64
65
|
logger.info(f"[필드 검사] 필드명: {field_name}, 타입: {type(files)}")
|
65
66
|
if files and isinstance(files, (list, tuple)):
|
@@ -67,7 +68,11 @@ class BaseService(Generic[ModelType]):
|
|
67
68
|
if any(isinstance(item, (tuple, list)) and len(item) == 2 and hasattr(item[0], 'read') for item in files):
|
68
69
|
logger.info(f"[파일 필드 발견] {field_name}")
|
69
70
|
separated_files[field_name] = files
|
70
|
-
|
71
|
+
fields_to_remove.append(field_name)
|
72
|
+
|
73
|
+
# 파일 필드 제거 (별도 단계로 분리)
|
74
|
+
for field_name in fields_to_remove:
|
75
|
+
del extra_data[field_name]
|
71
76
|
|
72
77
|
entity_data_copy['extra_data'] = extra_data
|
73
78
|
|
aiteamutils/version.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
"""버전 정보"""
|
2
|
-
__version__ = "0.2.
|
2
|
+
__version__ = "0.2.159"
|
@@ -1,7 +1,7 @@
|
|
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=uYEym6Cp2prK_ZbzAtrQaYLZRqn-AolTwoso_ASEqCk,22043
|
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
|
@@ -11,7 +11,7 @@ aiteamutils/files.py,sha256=Qq2w3VAEOzvsDirYtxRTN48LnIzf4TPUH2LftmyYtQk,12831
|
|
11
11
|
aiteamutils/models.py,sha256=Nqnn8clbgv-5l0PgxcTOldg8mkMKrFn4TvPL-rYUUGg,1
|
12
12
|
aiteamutils/security.py,sha256=McUl3t5Z5SyUDVUHymHdDkYyF4YSeg4g9fFMML4W6Kw,11630
|
13
13
|
aiteamutils/validators.py,sha256=_WHN6jqJQzKM5uPTg-Da8U2qqevS84XeKMkCCF4C_lY,9591
|
14
|
-
aiteamutils/version.py,sha256=
|
15
|
-
aiteamutils-0.2.
|
16
|
-
aiteamutils-0.2.
|
17
|
-
aiteamutils-0.2.
|
14
|
+
aiteamutils/version.py,sha256=xr1O2ZYSzlPjLr1SLG4IBRNdFzNlMV4GLn1gHFE6Kd8,43
|
15
|
+
aiteamutils-0.2.159.dist-info/METADATA,sha256=gmkHCBPBGe1kRWjRwOBNlhg8lywLG2N0EG4IXLNP-D0,1743
|
16
|
+
aiteamutils-0.2.159.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
17
|
+
aiteamutils-0.2.159.dist-info/RECORD,,
|
File without changes
|