mirror of
https://github.com/hanzoai/flow.git
synced 2026-10-17 01:29:18 +00:00
compiler.py + runner.py + FUNCTIONS.md — take a Flow (graph) and execute it as a Hanzo Function against the live Fission control plane. Rebased onto upstream rather than merged: my local tree was 21 commits behind and also carried a fix repointing four alembic migrations from `langflow.utils` to `flow.utils`. That fix is obsolete — upstream deleted those four migration files outright AND completed the rename (src/backend/base/langflow no longer exists, 630 files now under base/flow). Keeping my version would have resurrected four deleted migrations. Only the genuinely new work is carried forward. Co-authored-by: Hanzo Dev <[email protected]>
10 lines
302 B
Python
10 lines
302 B
Python
"""Flow -> Hanzo Functions (Fission) compiler.
|
|
|
|
Compile a Flow graph export into a deployable Fission function. See FUNCTIONS.md
|
|
for the two models (flow-as-function, node-as-function) and GPU placement.
|
|
"""
|
|
|
|
from .compiler import FunctionSpec, compile_flow
|
|
|
|
__all__ = ["FunctionSpec", "compile_flow"]
|