ComfyUI/app/assets/database/queries
Luke Mino-Altherr 0a16ce9e16 Fix missing tag count for is_missing references and update test for total_tags field
- Allow is_missing=True references to be counted in list_tags_with_usage
  when the tag is 'missing', so the missing tag count reflects all
  references that have been tagged as missing
- Add update_is_missing_by_asset_id query helper for bulk updates by asset
- Update test_add_and_remove_tags to use 'total_tags' matching the API schema

Amp-Thread-ID: https://ampcode.com/threads/T-019ce482-05e7-7324-a1b0-a56a929cc7ef
Co-authored-by: Amp <amp@ampcode.com>
2026-03-12 17:39:08 -07:00
..
__init__.py Fix missing tag count for is_missing references and update test for total_tags field 2026-03-12 17:39:08 -07:00
asset_reference.py Fix missing tag count for is_missing references and update test for total_tags field 2026-03-12 17:39:08 -07:00
asset.py Make asset mime_type immutable after first ingest 2026-03-12 17:39:08 -07:00
common.py feat(assets): align local API with cloud spec 2026-03-12 17:39:08 -07:00
tags.py Fix missing tag count for is_missing references and update test for total_tags field 2026-03-12 17:39:08 -07:00