Using named tuple as a task output seems to be err...
# ask-the-community
s
Using named tuple as a task output seems to be erroring out:
Copy code
AssertionError: Tuples are not a supported type for individual values in Flyte - got a tuple - Output(model_state=Promise(node:n0.model_state)). If using named tuple in an inner task, please, de-reference theactual attribute that you want to use. For example, in NamedTuple('OP', x=int) thenreturn v.x, instead of v, even if this has a single element
156 Views