ComfyUI/tests-unit/assets_test/services
Luke Mino-Altherr bcdf3cb80f refactor: add explicit types to asset service functions
- Add typed result dataclasses: IngestResult, AddTagsResult,
  RemoveTagsResult, SetTagsResult, TagUsage
- Add UserMetadata type alias for user_metadata parameters
- Type helper functions with Session parameters
- Use TypedDicts at query layer to avoid circular imports
- Update manager.py and tests to use attribute access

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
conftest.py fix: remaining ruff linting errors in services tests 2026-02-24 11:34:44 -08:00
test_asset_management.py refactor: use explicit dataclasses instead of ORM objects in service layer 2026-02-24 11:34:44 -08:00
test_ingest.py refactor: add explicit types to asset service functions 2026-02-24 11:34:44 -08:00
test_tagging.py refactor: add explicit types to asset service functions 2026-02-24 11:34:44 -08:00