<#170 Support Literal type (as enums) and Enums in...
# flyte-github
a
#170 Support Literal type (as enums) and Enums in dataclasses and pydantic models Pull request opened by kumare3 Intensity = Literal["low", "medium", "high"] @env.task async def literal_echo(i: Intensity) -> Intensity: return i @env.task async def literal_task(i: Intensity) -> str: return f"Intensity is {i}" Works correctly flyteorg/flyte-sdk