ComfyUI/app/assets/services
Luke Mino-Altherr adf6eb73fd refactor: eliminate manager layer, routes call services directly
- Delete app/assets/manager.py
- Move upload logic (upload_from_temp_path, create_from_hash) to ingest service
- Add HashMismatchError and DependencyMissingError to ingest service
- Add UploadResult schema for upload responses
- Update routes.py to import services directly and do schema conversion inline
- Add asset lookup/listing service functions to asset_management.py

Routes now call the service layer directly, removing an unnecessary
layer of indirection. The manager was only converting between service
dataclasses and Pydantic response schemas.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 14:50:11 -08:00
..
__init__.py refactor: eliminate manager layer, routes call services directly 2026-02-04 14:50:11 -08:00
asset_management.py refactor: eliminate manager layer, routes call services directly 2026-02-04 14:50:11 -08:00
hashing.py refactor: require blake3 package directly in hashing module 2026-02-03 20:42:11 -08:00
ingest.py refactor: eliminate manager layer, routes call services directly 2026-02-04 14:50:11 -08:00
path_utils.py chore: sort imports in assets package 2026-02-03 20:02:52 -08:00
schemas.py refactor: eliminate manager layer, routes call services directly 2026-02-04 14:50:11 -08:00
tagging.py refactor: add explicit types to asset service functions 2026-02-03 20:32:14 -08:00