Q: Is there a workflow `model` that one can export...
# prefect-community
b
Q: Is there a workflow
model
that one can export out from Prefect? I intended to use it to auto generate Python code from it
z
Hi! The
Flow
object contains the full DAG of your tasks — is that what you’re looking for?
b
hi @Zanie What I'm looking for is some
JSON
representation of that DAG. Since flow.Register() must have send some of DAG data to the
Prefect
server minus the task code for orchestration purpose, that might be the "model"?
z
Yep you can just serialize the flow — that’s what’s sent to the server.