Hi. In Prefect 2 I use context manager instead of ResourceManager available in Prefect 1. It works fine except for the case when the flow was cancelled. After flow is cancelled my resource is still running as finally block wasn't executed. Do you have any ideas how to shutdown the resource in case of cancel action? Thanks.
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.