Files
dify/api/constants/workflow.py
Byron Wang 609ac4e07f fix(api): decouple draft variable ports from ORM
Exchange plain variable records, file metadata commands, and creator identities across draft-variable ports. Keep SQLAlchemy conversion in repository and file adapters while preserving output upserts, default values, and failed-upload cleanup. Add an import boundary and regression coverage for persistence, upload attribution, and rollback recovery.
2026-11-06 14:31:53 +08:00

4 lines
154 B
Python

"""Workflow variable names shared by persistence compatibility and application policy."""
EDITABLE_SYSTEM_VARIABLE_NAMES = frozenset(("query", "files"))