According to this example, if the task is_accurate has one param ?
How can i mentioned data when return ‘is_accurate’ ?
@task.branch
def choose_best_model(accuracy):
data = "Cool"
if accuracy > 5:
return 'is_accurate'
return 'is_inaccurate'
@task
def is_accurate(data):
pass
@task
def is_inaccurate():
pass