Join Slack
Powered by
<#170 Support Literal type (as enums) and Enums in...
# flyte-github
a
acoustic-carpenter-78188
09/12/2025, 5:16 AM
#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
acoustic-carpenter-78188
09/13/2025, 12:51 AM
#170 Support Literal type (as enums) and Enums in dataclasses and pydantic models
Pull request merged by
kumare3
flyteorg/flyte-sdk
Open in Slack
Previous
Next