Is there any way to specify a custom FlowRunner (w...
# prefect-community
t
Is there any way to specify a custom FlowRunner (which has subclassed Prefect's FlowRunner) as the default FlowRunner with PrefectCloud? I would like to enforce some checks on the Flow Run configuration/settings for all flows. I was thinking of subclassing the FlowRunner and adding some validation in its
__init__
method
k
Is it Prefect 1 or 2? What are you trying to check? We don’t recommend subclassing that. Instead, you can add the checks in a state handler as the flow starts.