Hi - I a couple of questions about orion: 1. How do you use Radar? 2. Can a task be a class? -- Thanks
a
Anna Geller
11/27/2021, 11:55 AM
@itay livni
#1: go to View Radar, then you can see it, but a detailed Task Run UI view is not yet released I think. This blog post also explains how it can be used.
#2: You can instantiate and call any classes inside of your tasks or even directly in your Flow as classes which are not tasks. But there is no concept of classes that inherit from the Task class as itβs the case in imperative API in Prefect Core.
i
itay livni
11/27/2021, 12:40 PM
@Anna Geller Thank you
itay livni
11/27/2021, 3:42 PM
Hi @Anna Geller - I looked over the blog post again and Orion documentation and did not find documentation on how to generate the visualization. What am I missing?
a
Anna Geller
11/27/2021, 4:08 PM
Once you run your flow, it gets generated automatically for you.
π 1
i
itay livni
11/27/2021, 4:37 PM
that means my flow is compiling but not running correctly π
a
Anna Geller
11/27/2021, 4:43 PM
What specifically do you mean by compiling here? You can really treat and run Orion flows as normal Python scripts. After you ran a flow/script, the flow and the corresponding flow run will be available in the UI without having to preregister the DAG.
i
itay livni
11/27/2021, 4:53 PM
Compiling in this context means I get a completed successful run but not in the UI.... That being said I need to tinker around some more. (Unwinding some of my prefect 1.0 contortions!)
itay livni
11/27/2021, 4:56 PM
@Anna Geller This was helpful, now I know where to look for the graph. So used to
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.