https://prefect.io logo
Title
v

Vipul

04/14/2022, 8:29 PM
Hey, quick question on Prefect Orion - Wanted to know if the caching on task based on the persistent result something going to be supported in the Prefect Orion. The one that is already available in the Prefect 1.0 with @task(target=“{task-name}“)
k

Kevin Kho

04/14/2022, 8:31 PM
I believe so but the result interface is currently tied to storage and slated to change.
a

Anna Geller

04/14/2022, 8:31 PM
We will likely add some prebuilt caching functions allowing you to build custom caching behavior, incl. one based on files (in a target style) - you could already build that yourself, but we should have some prebuilt functions later
v

Vipul

04/14/2022, 8:47 PM
Thanks @Anna Geller & @Kevin Kho
I am having one issue with the Prefect Orion UI not sure what I am doing wrong. From the command line I can see the flow being run but when I see in the UI, nothing is being shown as run or even in Deployments. I am running in the Mac
k

Kevin Kho

04/14/2022, 8:49 PM
Is your API on another machine? Or everything on the Mac?
v

Vipul

04/14/2022, 8:49 PM
Everything on the Mac
k

Kevin Kho

04/14/2022, 8:50 PM
Did you register the deployment or you are just running the flow like a Python script?
v

Vipul

04/14/2022, 8:51 PM
I did register the deployment
k

Kevin Kho

04/14/2022, 8:51 PM
Maybe your UI has filters on the front page?
v

Vipul

04/14/2022, 8:53 PM
no filter apart from teh default: last:1d & next:1d
prefect deployment ls --> Shows two flows but the UI does not show any
k

Kevin Kho

04/14/2022, 8:55 PM
What is your Prefect version?
v

Vipul

04/14/2022, 8:58 PM
prefect version is 2.0b3. Also, it does not show any work-queue as well so it gives me an impression that UI does not connect to the same Postgres DB as my backend
k

Kevin Kho

04/14/2022, 9:07 PM
Trying to replicate
What are your settings for
PREFECT_ORION_API_HOST:127.0.0.1
PREFECT_ORION_API_PORT:4200
when yoo check the UI?
v

Vipul

04/14/2022, 9:16 PM
Sorry Kevin, I think I am able to see now after I start the agent. really not sure what the issue
k

Kevin Kho

04/14/2022, 9:18 PM
Oh no worries