Files
dify/api/factories/file_factory/__init__.py
-LAN- 56593f20b0 refactor(api): continue decoupling dify_graph from API concerns (#33580)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WH-2099 <wh2099@pm.me>
2026-03-25 20:32:24 +08:00

19 lines
586 B
Python

"""Workflow file factory package.
This package normalizes workflow-layer file payloads into graph-layer ``File``
values. It keeps tenancy and ownership checks in the application layer and
exports the workflow-facing file builders for callers.
"""
from .builders import build_from_mapping, build_from_mappings
from .message_files import build_from_message_file, build_from_message_files
from .storage_keys import StorageKeyLoader
__all__ = [
"StorageKeyLoader",
"build_from_mapping",
"build_from_mappings",
"build_from_message_file",
"build_from_message_files",
]