How to get which PeriodicTask is being called? #513
Unanswered
diogosilva30
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Let's assume I have a generic task like:
Now I create 2
PeriodicTaskobjects that both call thegeneric_taskmethod above.How can I get which
PeriodicTaskobject is invoking the method above?My current solution (seems kinda of a hack, not very clean):
PeriodicTaskwith thenamealso being passed as a positional argument:Is there any cleaner solution to this?
Beta Was this translation helpful? Give feedback.
All reactions