haven
08/04/2021, 6:16 AMclass MyFlowRunner(prefect.engine.flow_runner.FlowRunner)
(or subclassing another component - open to suggestions!) inside a custom package my-prefect
to send some HTTP requests before a Flow
starts, and after it ends. My questions are:
• where would be the best way for me to implement such a functionality?
along with the considerations:
• keep the Prefect API to be as pure as possible
• allow the implementation of the MyFlowRunner
(or some other custom component) to be uncoupled, i.e. if a project upgrades my-prefect
, the flow configuration doesn't have to change at all
Would appreciate comments/suggestions/discussions from whoever are interested/have had experience doing so!Kevin Kho
haven
08/04/2021, 3:34 PMKevin Kho
Flow
class instead. Will try to make an example.haven
08/04/2021, 3:44 PMKevin Kho
haven
08/05/2021, 5:44 AM