Help us improve these docs. Take our quick survey.
import weave class MyObj: def __init__(self, x: int): self.x = x def __repr__(self): return f"MyObj(x={self.x})" def to_dict(self): return {"x": self.x} @weave.op() def make_my_obj(): x = "s" * 10_000 return MyObj(x)
Was this page helpful?