<#2980 [BUG] Task returning NamedTuple fails with ...
# flytekit
a
#2980 [BUG] Task returning NamedTuple fails with USER::Pod failed. No message received from kubernetes Issue created by tekumara Describe the bug A task with the following signature:
Copy code
from typing import Dict, List, NamedTuple
from flytekit import task, workflow

class OpenFlightsData(NamedTuple):
    routes: List[Dict[str, str]]
    airlines: Dict[str, str]
    airports: Dict[str, Dict[str, str]]


@task()
def extract_reference_data() -> OpenFlightsData:
   pass
Fails with
Copy code
[1/1] currentAttempt done. Last Error: USER::Pod failed. No message received from kubernetes.
[fb5562eecbc2f40f9b0d-n0-0] terminated with exit code (137). Reason [Error]. Message: 

.
Expected behavior No failure Additional context to reproduce flytekit 1.2.1 flyte admin 1.1.46 Screenshots

Screen Shot 2022-10-13 at 10 36 58 pm

Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte