Arthur Rey
03/11/2024, 9:56 AMMarvin
03/11/2024, 9:56 AMasyncio.gather
.
- Any flow written with Prefect can be used as a component in another flow, meaning you can use subflows in much the same way you would use an imported module in a Python script.
However, based on the provided excerpts from the documentation, there are no explicit instructions on how to surface artifacts from subflows to the parent flow. You can potentially manage or access subflow artifacts by storing them in a known location and referencing them from the parent flow, assuming proper permissions and path access.
For further details and best practices on subflows in Prefect, check the following documentation pages:
- Composing flows - Subflows
- Workflow Design Patterns with Prefect - Flow of subflowsArthur Rey
03/11/2024, 9:58 AMArthur Rey
03/11/2024, 9:59 AMMarvin
03/11/2024, 9:59 AM