Hey, quick question on Prefect Orion - Wanted to k...
# prefect-community
v
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
I believe so but the result interface is currently tied to storage and slated to change.
a
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
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
Is your API on another machine? Or everything on the Mac?
v
Everything on the Mac
k
Did you register the deployment or you are just running the flow like a Python script?
v
I did register the deployment
k
Maybe your UI has filters on the front page?
v
no filter apart from teh default: last:1d & next:1d
prefect deployment ls --> Shows two flows but the UI does not show any
k
What is your Prefect version?
v
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
Trying to replicate
What are your settings for
Copy code
PREFECT_ORION_API_HOST:127.0.0.1
PREFECT_ORION_API_PORT:4200
when yoo check the UI?
v
Sorry Kevin, I think I am able to see now after I start the agent. really not sure what the issue
k
Oh no worries