https://prefect.io logo
Title
m

Michael Ulin

12/18/2021, 10:43 PM
Is it possible to use Prefect Orion with Prefect Cloud with Orion's current release? It'd be great to be able to utilize async code in our workflows.
a

Anna Geller

12/19/2021, 12:22 AM
@Michael Ulin No, that’s not possible because the current Cloud UI is for Prefect Core, not for Orion. But there will be a new Cloud UI that will look closer to the Orion UI than the current Prefect Cloud UI. You can check this blog post and

this livestream

recording to find out more about it.
m

Michael Ulin

12/19/2021, 9:37 PM
Makes sense. Thanks!
n

Noah Holm

12/20/2021, 9:02 AM
Hey @Michael Ulin, Just to make sure you haven’t missed the possible way to use async functions in a task for 1.0. Create an
async def afunc
without the task decorator and call it in your task with e.g.,
asyncio.run(afunc(...))
. This is working well for us 🙂
🙌 1
:upvote: 1
m

Michael Ulin

12/23/2021, 8:19 PM
Awesome - I'll check it out. Thanks!