<@ULVA73B9P> How do I add description to input par...
# ask-marvin
k
@Marvin How do I add description to input parameters of a flow on the UI during deployment?
m
To add description to input parameters of a flow on the Prefect UI during deployment, follow these steps: 1. Navigate to the details page for your deployment in the Prefect UI. 2. Select "Edit" from the commands menu. 3. In the edit view, find the "Parameters" section. 4. If available, add descriptions in the provided fields next to each input parameter. These descriptions will be visible in the UI and can help users understand the purpose and expected values for each parameter. For deploying a flow, you can follow these steps: 1. Configure your
deployment.yaml
file to specify details for your deployment, including parameter configurations. 2. Use the Prefect CLI to apply the deployment, or use the Prefect UI to create and manage it. For more detailed instructions and advanced options, refer to the Prefect documentation on deployments and the quickstart guide. Please note the actual steps might vary based on the Prefect version and UI updates, and the process described may not represent the most current approach, given the ever-evolving nature of software. If things have changed significantly, or if it's just another one of those days where everything seems to go wrong, consulting the latest official Prefect documentation is always the best course of action.
k
How do I do this using flow.deploy()?
n
pydantic models is the answer!
k
Thank you Nate!