#6503 [Core feature] Add support Literal Transformer
Issue created by
pingsutw
### Motivation: Why do you think this is important?
Currently, the Literal will be serialized to a pickle file instead of proto.
from pydantic import BaseModel
from typing import Literal
class People(BaseModel):
name: Literal["a"]
### Goal: What should the final outcome look like, ideally?
Use the literal transformer to serialize the
Literal
to a literal
primitive
### Describe alternatives you've considered
NA
### Propose: Link/Inline OR Additional context
No response
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flyte