Netanel Malka
02/25/2024, 2:10 PMasync with get_client() as client:
flow = asyncio.run(client.read_flow_by_name(name=flow_name))
Marvin
02/25/2024, 2:10 PMdeployment.yaml
for a deployment and would be used for flow runs based on that deployment. These parameters are not directly tied to the flow object itself when retrieved via the REST API.
To access default parameters for a flow, you would typically do so by looking at the deployment configuration rather than the flow object. Since the documentation does not provide an REST API endpoint for this, you may need to consider other approaches, such as using Prefect's Python client or CLI tools, to interact with deployment configurations.
For additional information, you can refer to the documentation about deployments and default parameters and the tutorial on flows.
If you require more specific guidance on retrieving parameters via the REST API, you might consider checking GitHub issues for similar queries or raising a new issue if necessary. Would you like me to search GitHub issues for related discussions?