ComfyUI/app/assets
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
..
api refactor: eliminate manager layer, routes call services directly 2026-02-04 14:50:11 -08:00
database refactor: add explicit types to asset service functions 2026-02-03 20:32:14 -08:00
services refactor: eliminate manager layer, routes call services directly 2026-02-04 14:50:11 -08:00
helpers.py refactor: improve function naming for clarity and consistency 2026-02-03 14:20:36 -08:00
scanner.py chore: remove obvious/self-documenting comments from assets package 2026-02-03 20:14:11 -08:00