mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-07 12:02:37 +08:00
35 lines
796 B
Python
35 lines
796 B
Python
# Asset services layer
|
|
# Business logic that orchestrates database queries and filesystem operations
|
|
# Services own session lifecycle via create_session()
|
|
|
|
from app.assets.services.asset_management import (
|
|
delete_asset_reference,
|
|
get_asset_detail,
|
|
set_asset_preview,
|
|
update_asset_metadata,
|
|
)
|
|
from app.assets.services.ingest import (
|
|
ingest_file_from_path,
|
|
register_existing_asset,
|
|
)
|
|
from app.assets.services.tagging import (
|
|
apply_tags,
|
|
list_tags,
|
|
remove_tags,
|
|
)
|
|
|
|
__all__ = [
|
|
# ingest.py
|
|
"ingest_file_from_path",
|
|
"register_existing_asset",
|
|
# asset_management.py
|
|
"get_asset_detail",
|
|
"update_asset_metadata",
|
|
"delete_asset_reference",
|
|
"set_asset_preview",
|
|
# tagging.py
|
|
"apply_tags",
|
|
"remove_tags",
|
|
"list_tags",
|
|
]
|