ComfyUI/app/assets/services
Luke Mino-Altherr 58edc6fc6b refactor(bulk_ingest): improve variable naming and add typed dicts
- Rename shorthand variables to explicit names (sp -> spec, aid -> asset_id, etc.)
- Move imports to top of file
- Add TypedDict definitions for AssetRow, CacheStateRow, AssetInfoRow, TagRow, MetadataRow
- Replace bare dict types with typed alternatives

Amp-Thread-ID: https://ampcode.com/threads/T-019c316d-13f7-77f8-b92b-ea7276c3e09c
Co-authored-by: Amp <amp@ampcode.com>
2026-02-24 11:34:44 -08:00
..
__init__.py feat: non-destructive asset pruning with is_missing flag 2026-02-24 11:34:44 -08:00
asset_management.py refactor(assets): consolidate duplicated query utilities and remove unused code 2026-02-24 11:34:44 -08:00
bulk_ingest.py refactor(bulk_ingest): improve variable naming and add typed dicts 2026-02-24 11:34:44 -08:00
file_utils.py refactor(assets): extract scanner logic into service modules 2026-02-24 11:34:44 -08:00
hashing.py refactor: require blake3 package directly in hashing module 2026-02-24 11:34:44 -08:00
ingest.py Make ingest_file_from_path and register_existing_asset private 2026-02-24 11:34:44 -08:00
metadata_extract.py Make ingest_file_from_path and register_existing_asset private 2026-02-24 11:34:44 -08:00
path_utils.py refactor(assets): consolidate duplicated query utilities and remove unused code 2026-02-24 11:34:44 -08:00
schemas.py refactor: eliminate manager layer, routes call services directly 2026-02-24 11:34:44 -08:00
tagging.py refactor: add explicit types to asset service functions 2026-02-24 11:34:44 -08:00