Blake
03/26/2024, 7:15 PMMarvin
03/26/2024, 7:15 PMDaskTaskRunner
to potentially use the flow run name as a cluster name, which hints at customizing aspects of flow runs based on the flow run context. This suggests there might be a way to leverage customization at the time a subflow run is created to influence the subflow run's metadata, including the name.
Unfortunately, none of the issues reviewed provide an explicit solution to setting the subflow run name. If this capability is essential for your use case, it could be worth commenting on an existing GitHub issue or creating a new one to request this feature from the Prefect maintainers.
In the meantime, to specify the name for a subflow run, you might need to consider creating a custom task or logic when calling the subflow, so as to possibly attach relevant metadata to the subflow run or store the desired name in some sort of state that can be referenced with the subflow. Further updates may come with new Prefect 2.x releases, or solutions may arise from the community discussions on GitHub.Blake
03/26/2024, 7:18 PMBlake
03/26/2024, 7:18 PMNate
03/26/2024, 9:44 PMNate > Marvinmy child has not outgrown me yet