@tl_jacob are you sure we every supported it? We could add support but you can make it work with mod
@tl_jacob are you sure we every supported it? We could add support but you can make it work with model_dump()
but you can make it work with model_dump()yep, that's my current approach!
https://app.windmill.dev/scripts/get/c2f993b8523d29b6?workspace=alex#foo=%22asdfadfs%22 will prefill the ui with foo = asdfadfsfrom pydantic import BaseModel
class Foo(BaseModel):
bar: int
def main():
return Foo(bar=1).model_dump()