Hi - I a couple of questions about orion: 1. How ...
# prefect-community
i
Hi - I a couple of questions about orion: 1. How do you use Radar? 2. Can a task be a class? -- Thanks
a
@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
@Anna Geller Thank you
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
Once you run your flow, it gets generated automatically for you.
πŸ‘ 1
i
that means my flow is compiling but not running correctly πŸ™‚
a
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
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!)
@Anna Geller This was helpful, now I know where to look for the graph. So used to
flow.visualize
. Thank you.
πŸ™Œ 1