@Marvin Is there a way to add description to deployment as a file instead of string?
m
Marvin
03/26/2024, 2:43 PM
To include a description in a Prefect deployment, you can specify the description field within the deployment's YAML file. It appears that you cannot directly add a description from a file, but you can certainly edit the generated YAML file to include the description as a string.
Here's an example snippet from a deployment YAML:
Copy code
yaml
name: my-deployment-name
description: A detailed description of my deployment here. # Add your description as a string
version: 1.0
...
This YAML configuration is part of the deployment creation process. To create a deployment YAML for your flow, you use the
prefect deployment build
command with the
--output
flag to specify the output filename.
For more information, you can check the following Prefect documentation links:
- Block-Based Deployments
- Deployments
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.