ComfyUI/app/assets/services
Luke Mino-Altherr b754c50e92 fix: support in-memory SQLite and ensure custom MIME types are initialized
- Add _init_memory_db() path using Base.metadata.create_all + StaticPool
  since Alembic migrations don't work with in-memory SQLite (each
  connection gets its own separate database)
- Call init_mime_types() at module load in metadata_extract so custom
  types like application/safetensors are always registered

Amp-Thread-ID: https://ampcode.com/threads/T-019cbb5f-13d1-7429-8cfd-815625c4d032
Co-authored-by: Amp <amp@ampcode.com>
2026-03-04 16:28:10 -08:00
..
__init__.py Reduce duplication across assets module 2026-03-03 17:23:32 -08:00
asset_management.py feat: soft-delete for AssetReference with scanner persistence 2026-03-03 20:15:14 -08:00
bulk_ingest.py Fix asset API security and correctness issues 2026-03-03 18:47:48 -08:00
file_utils.py fix: follow symlinks in list_files_recursively with cycle detection 2026-03-03 15:51:52 -08:00
hashing.py Add checkpoint/interrupt support to BLAKE3 hashing 2026-03-04 15:22:42 -08:00
ingest.py Add checkpoint/interrupt support to BLAKE3 hashing 2026-03-04 15:22:42 -08:00
metadata_extract.py fix: support in-memory SQLite and ensure custom MIME types are initialized 2026-03-04 16:28:10 -08:00
path_utils.py Reduce duplication across assets module 2026-03-03 17:23:32 -08:00
schemas.py Reduce duplication across assets module 2026-03-03 17:23:32 -08:00
tagging.py Reduce duplication across assets module 2026-03-03 17:23:32 -08:00