<#1823 [Core][flytekit] TypeTransformer support fo...
# flytekit
a
#1823 [Core][flytekit] TypeTransformer support for Pydantic Models Issue created by kumare3 Motivation: Why do you think this is important? Currently Flytekit supports dataclasses as supported user defined types. We should also support Pydantic, as it provides similar benefits as Dataclasses_json to extract the schema and serialize to JSON with a nice extensible format. Goal: What should the final outcome look like, ideally?
Copy code
from typing import List
from pydantic import BaseModel


class Foo(BaseModel):
    count: int
    size: float = None
Support as a valid transform Describe alternatives you've considered dataclasses are already supported, but they allow limited extensibility to schema extraction as they use marshmallow underneath 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
👀 1