tl_jacobT

Seeing the following error when a script returns a pydantic object. Currently on v1.554.0. This erro

Seeing the following error when a script returns a pydantic object. Currently on v1.554.0. This error wasn't happening on older versions, but unsure when exactly things changed/broke.

Minimal script to repro:
from pydantic import BaseModel

class Foo(BaseModel):
    bar: int

def main():
    return Foo(bar=1)


AttributeError: 'tuple' object has no attribute 'replace'
Was this page helpful?