Hi all, I have a question regarding Prefect Server...
# prefect-server
a
Hi all, I have a question regarding Prefect Server and Dask (maybe it has been already answered but I can’t find it by myself, sorry 😅 ) I was able to run Prefect flows on a local Dask cluster from my PyCharm dev environment. Now, the next step would be to register a flow on my local Prefect Server and to run it on Dask. But I can’t figure out what I need to do to tell Prefect Server to use Dask as the execution engine. I suspect I have to deal with Prefect Agent configs, but I’m not 100% sure. Any help is much appreciated! 🙂
j
Hi Alessandro, you can set the executor for a flow run that is orchestrated by the server in the Flow's environment. More information here: https://docs.prefect.io/orchestration/execution/overview.html#environments and https://docs.prefect.io/orchestration/execution/local_environment.html#examples
❤️ 2