Unanswered
Hi All, I Have A Question Regarding
@<1634001100262608896:profile|LazyAlligator31> it looks like the args get passed to a python thread. so the should be specified the same way as you would pass them to the args
argument in a thread (so a tuple of positional arguments): func_args=("something", "else")
. It looks like passing kwargs is not directly supported, but you could build a partial
:
from functools import partial
scheduler.add_task(schedule_function=partial(clone_enqueue, arg_1="something", arg_2="else"))
78 Views
0
Answers
6 months ago
6 months ago