Join Slack
Powered by
quick question: What's the Best Practices for canc...
# ask-community
m
matta
05/08/2020, 12:57 AM
quick question: What's the Best Practices for canceling a flow if the data origin has no new entries? Should I raise an Exception?
j
Jenny
05/08/2020, 1:24 AM
Hi
@matta
- welcome to Prefect! Glad we don't feel terrifying. 😁
Jenny
05/08/2020, 1:27 AM
Others may have ideas on best practice for your question but you could check out signals -
https://docs.prefect.io/api/latest/engine/signals.html#endrun
upvote
1
c
Chris White
05/08/2020, 1:41 AM
In this case, raising a
SKIP
signal sounds like the semantically correct signal to raise
m
matta
05/08/2020, 1:59 AM
Cool, thanks!
👍 1
Open in Slack
Previous
Next