https://prefect.io logo
Title
w

Wellington Braga

02/24/2023, 2:37 PM
is there any prefect native function in python which is equivalent to the command:
prefect deployment ls --flow-name <flow-name>
?
2
r

redsquare

02/24/2023, 2:46 PM
Yes with prefect client
client.read_deployments(flow_filter=FlowFilter(name={"any_": flow_name})
1