Replies: 1 comment 1 reply
-
Hi @YishuiLi - to specify how you want your tasks executed, you can use an from prefect.engine.executors import LocalDaskExecutor
flow.run_config = LocalRun()
flow.executor = LocalDaskExecutor()
flow.register(project_name="test") For more info, check out these docs: https://docs.prefect.io/orchestration/flow_config/executors.html |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is my code, there are four tasks (start, get_first_name, get_last_name, print_info). I want to execute get_first_name and get_last_name concurrently. How to implement it with prefect?
Beta Was this translation helpful? Give feedback.
All reactions