Erik Amundson
10/19/2022, 5:11 PMimport asyncio
from prefect.client.orion import get_client
client = get_client()
resp = asyncio.run(client.read_flow_runs())
But there seems to be a missing argument to cloudpickle in the internal utils (see screenshot)
FWIW prefect flow-run ls
works fine from the command line, so I don't think it's an issue with the api endpoint itself.client.api_healthcheck()
client.read_deployments()
client.read_block_documents()
client.read_logs()
all seem to work correctlyJeff Hale
10/19/2022, 9:36 PMErik Amundson
10/19/2022, 10:25 PM