quick q on Pause behavior: is there any way to know inside a task (e.g. from the prefect context) whether the current run was restarted manually (i.e. by clicking Approve in the UI)? I'm aiming for something like the
manual_only
trigger but that can be achieved at runtime instead. so something like
Copy code
if condition and not prefect.context["manual_approval"]:
raise signals.PAUSE()
d
Dylan
01/07/2021, 9:22 PM
Hey @Brett Naul,
resume=True
Should be in the top-level of context whenever manually restarting from Paused
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.