You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My flows use a LOT of Celery Jobs to process UI input that would take to long to run synchronously in the web process.
It would be very elegant if viewflow.contrib.celery.Job supported a special .Except(this.another_task) that was like .Next(), but used in case the celery job raises an Exception.
Like I mentioned in the solution, I cannot find a clean pass to pass the exception to the exception node activation unless in the exception node I use another custom activation to accept the extra constructor argument.
activation = mapping['node'].activate(prev_activation=self, token=self.task.token)
# wish I could just pass like
activation = mapping['node'].activate(prev_activation=self, token=self.task.token, exception=self.caught_exception)
My flows use a LOT of Celery Jobs to process UI input that would take to long to run synchronously in the web process.
It would be very elegant if
viewflow.contrib.celery.Job
supported a special.Except(this.another_task)
that was like.Next()
, but used in case the celery job raises an Exception.The text was updated successfully, but these errors were encountered: