some help with mixin #5939
some help with mixin
#5939
|
I find mixin very helpful, but I want a specific case to work. I have the following code: I want to yield the on_success event handler after handle processing is successfully completed. How can I achieve this ? |
Answered by
masenf
Oct 30, 2025
Replies: 3 comments
|
have you tried that won't work in a background task due to #4947, but in that case you can use |
0 replies
Answer selected by
jamesalphanome
|
This works |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
have you tried
yield type(self).on_success?that won't work in a background task due to #4947, but in that case you can use
self.__class__.on_success