Derrell
04/23/2024, 12:17 AMJack P
04/23/2024, 12:38 AMread_deployments
endpoint from Rest API, I don't see list/read deployments in Prefect Python SDK docs.
Rest API docs for read_deployments hereDerrell
04/23/2024, 12:38 AMJack P
04/23/2024, 12:42 AMDerrell
04/23/2024, 12:42 AMJack P
04/23/2024, 12:43 AMNate
04/23/2024, 2:32 AMfrom prefect import get_client
async with get_client() as client:
deployments: list["Deployment"] = await client.read_deployments() # all by default