witty-night-15094
02/19/2024, 1:58 AMdata_paths
is a list[str] type and the error also comes with the following:
File flytekit/flytekit/core/promise.py", line 969, in create_and_link_node
binding_from_python_std(
File "flytekit/flytekit/core/promise.py", line 657, in binding_from_python_std
binding_data = binding_data_from_python_std(ctx, expected_literal_type, t_value, t_value_type)
File "flytekit/flytekit/flytekit/core/promise.py", line 602, in binding_data_from_python_std
raise AssertionError(f"this should be a list and it is not: {type(t_value)} vs {expected_literal_type}")
AssertionError: this should be a list and it is not: <class 'list'> vs union_type {
variants {
collection_type {
simple: STRING
}
structure {
tag: "Typed List"
}
}
variants {
simple: NONE
structure {
tag: "none"
}
}
}
Any help is appreciated, maybe this is a simple fix