Hey folks. Getting ephemeral server warning warning when trying to run a python file that tries to serve a flow with a schedule. My intention is to use local server / not to use cloud. Do I need to explicitly instantiate a server? Is there a good way to do it programmatically / not from the terminal?
Warning:
`190407.659 | WARNING | prefect.runner - Cannot schedule flows on an ephemeral server; run
prefect server start
to start the scheduler.`
Code:
Copy code
if __name__ == "__main__":
interval = 25
execute_workflow.serve(interval=interval, parameters={"tasks_data": tasks_data})
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.