aiteamutils 0.2.151__tar.gz → 0.2.152__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiteamutils
3
- Version: 0.2.151
3
+ Version: 0.2.152
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
@@ -226,9 +226,23 @@ class FileHandler:
226
226
  }
227
227
  )
228
228
 
229
- file_info = dict(result.fetchone())
230
- file_infos.append(file_info)
231
- logger.info(f"[DB 저장 완료] {original_name}, ulid: {file_info['ulid']}")
229
+ row = result.fetchone()
230
+ db_file_info = {
231
+ "ulid": row.ulid,
232
+ "entity_name": row.entity_name,
233
+ "entity_ulid": row.entity_ulid,
234
+ "original_name": row.original_name,
235
+ "storage_path": row.storage_path,
236
+ "mime_type": row.mime_type,
237
+ "size": row.size,
238
+ "checksum": row.checksum,
239
+ "column_name": row.column_name,
240
+ "created_at": row.created_at,
241
+ "updated_at": row.updated_at,
242
+ "is_deleted": row.is_deleted
243
+ }
244
+ file_infos.append(db_file_info)
245
+ logger.info(f"[DB 저장 완료] {original_name}, ulid: {db_file_info['ulid']}")
232
246
 
233
247
  except Exception as e:
234
248
  logger.error(f"[DB 저장 실패] {original_name}: {str(e)}")
@@ -0,0 +1,2 @@
1
+ """버전 정보"""
2
+ __version__ = "0.2.152"
@@ -1,2 +0,0 @@
1
- """버전 정보"""
2
- __version__ = "0.2.151"
File without changes
File without changes
File without changes