mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-06 13:50:21 +00:00
global refactoring; add support for Assets without the computed hash
This commit is contained in:
23
app/database/helpers/__init__.py
Normal file
23
app/database/helpers/__init__.py
Normal file
@@ -0,0 +1,23 @@
|
||||
from .filters import apply_metadata_filter, apply_tag_filters
|
||||
from .ownership import visible_owner_clause
|
||||
from .projection import is_scalar, project_kv
|
||||
from .tags import (
|
||||
add_missing_tag_for_asset_hash,
|
||||
add_missing_tag_for_asset_id,
|
||||
ensure_tags_exist,
|
||||
remove_missing_tag_for_asset_hash,
|
||||
remove_missing_tag_for_asset_id,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"apply_tag_filters",
|
||||
"apply_metadata_filter",
|
||||
"is_scalar",
|
||||
"project_kv",
|
||||
"ensure_tags_exist",
|
||||
"add_missing_tag_for_asset_id",
|
||||
"add_missing_tag_for_asset_hash",
|
||||
"remove_missing_tag_for_asset_id",
|
||||
"remove_missing_tag_for_asset_hash",
|
||||
"visible_owner_clause",
|
||||
]
|
||||
Reference in New Issue
Block a user