Closed liho00 closed 1 year ago
def echo_func(test=0, another=2): print(test, another)
aiocron.crontab(' /3', func=echo_func, args=(test=0, another=2),), start=True)
expected result support kwargs and args both
current result unable to pass kwargs to echo_func
use https://docs.python.org/3/library/functools.html#functools.partial
def echo_func(test=0, another=2): print(test, another)
aiocron.crontab(' /3', func=echo_func, args=(test=0, another=2),), start=True)
expected result support kwargs and args both
current result unable to pass kwargs to echo_func