<@ULVA73B9P> is it possible to `submit()` a flow? ...
# ask-marvin
c
@Marvin is it possible to
submit()
a flow? or does it have to be a task?
m
In Prefect 3.x, you can submit tasks for execution using the
submit()
method, but this concept doesn't directly apply to flows. Flows are typically executed directly or scheduled to run at a later time. The
submit()
method is generally used for tasks within a flow, allowing you to execute them asynchronously. If you're looking to run a flow, you would typically call it directly or use Prefect's scheduling and orchestration capabilities to manage its execution. For more details on how tasks and flows are managed, you can refer to the Prefect documentation or explore the GitHub repository. If you have specific needs or constraints, feel free to elaborate, and I can provide more tailored guidance.