https://flyte.org logo
#ask-the-community
Title
# ask-the-community
k

Kamakshi Muthukrishnan

11/16/2022, 7:22 AM
File "knn.py", line 105, in pipeline accuracy=calc_accuracy(split_data_vals.test_labels,predicted_vals_output) File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/flytekit/core/base_task.py", line 283, in call return flyte_entity_call_handler(self, *args, **kwargs) File "/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.7/site-packages/flytekit/core/promise.py", line 1003, in flyte_entity_call_handler f"When calling tasks, only keyword args are supported. " flytekit.exceptions.user.FlyteAssertion: When calling tasks, only keyword args are supported. Aborting execution as detected 2 positional args (Promise(node:n0.test_labels), Promise(node:n1.o0))
68 Views