fabian wolfmann
05/31/2021, 3:19 PMfabian wolfmann
05/31/2021, 3:25 PMdef state_handler_test(self, obj, old_state, new_state):
if new_state.is_running():
# do something with attr
class Test(Task):
def __init__(self):
self.attr = None
def run(attr):
self.attr = attr
and the state_handler_test
is already setKevin Kho
Parameters
right? You mean values that went into the Task?Kevin Kho
Kevin Kho
Parameters
though, you might be able to get them through the contextfabian wolfmann
05/31/2021, 3:53 PM