acoustic-carpenter-78188
10/16/2023, 12:13 PM@dataclass_json
@dataclass
class RecordField
name: str
age: int
Schema1 = Annotated[StructuredDataset, kwtypes(data=RecordField, ...)
Schema2 = Annotated[StructuredDataset, kwtypes(data={"name": str, "age": int}, ...)
Describe alternatives you've considered
As above, can return a URI, but this is essentially bypassing the type system entirely.
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