ComfyUI/app/assets/services
Luke Mino-Altherr 60de95d5e7 refactor: use query functions instead of direct ORM modifications in service layer
Add update_asset_info_name and update_asset_info_updated_at query functions
and update asset_management.py to use them instead of modifying ORM objects
directly. This ensures the service layer only uses explicit operations from
the queries package.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-24 11:34:44 -08:00
..
__init__.py Refactor asset database: separate business logic from queries 2026-02-24 11:34:43 -08:00
asset_management.py refactor: use query functions instead of direct ORM modifications in service layer 2026-02-24 11:34:44 -08:00
hashing.py fix: handle missing blake3 module gracefully to prevent server crash 2026-02-24 11:34:44 -08:00
ingest.py refactor: use explicit dataclasses instead of ORM objects in service layer 2026-02-24 11:34:44 -08:00
path_utils.py refactor: improve function naming for clarity and consistency 2026-02-24 11:34:44 -08:00
scanner.py refactor: remove try-finally wrapper in seed_assets by extracting helpers 2026-02-24 11:34:44 -08:00
schemas.py refactor: use explicit dataclasses instead of ORM objects in service layer 2026-02-24 11:34:44 -08:00
tagging.py refactor: move in-function imports to top-level and remove keyword-only argument pattern 2026-02-24 11:34:43 -08:00