https://prefect.io logo
#prefect-community
Title
# prefect-community
p

Prass

07/21/2022, 12:27 PM
Hi folks, 1. Is there any way in prefect 2.0 I can say do
task1
. But do
task2
only if
task1
is completed, and
task3
only if
task1
and
task2
are complete? 2. Does prefect 2.0 parallelize flows over
async for
s? 3. I write (append) to a file in one of my tasks. Is that
prefect
safe?
1
a

Anna Geller

07/21/2022, 12:57 PM
#1 Absolutely YES! You can solve that using the keyword argument wait_for - check this page #2 Generally speaking yes - I'd encourage you to try and report if you stumble across any issues using async in your flows and tasks - docs #3 You can interact with files within your tasks and flows - again, I'd encourage you to try and report if you stumble across any issues
🙏 1
👀 1
2 Views