Skip to content

Commit

Permalink
chore(weave): Remove Ref from Object repr #3436
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtruong authored Jan 22, 2025
1 parent 679f092 commit f5635cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion weave/flow/obj.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from pydantic import (
BaseModel,
ConfigDict,
Field,
ValidationInfo,
ValidatorFunctionWrapHandler,
model_validator,
Expand Down Expand Up @@ -41,7 +42,7 @@ def setter(self: Any, value: T) -> None:
class Object(BaseModel):
name: Optional[str] = None
description: Optional[str] = None
ref: Optional[ObjectRef] = None
ref: Optional[ObjectRef] = Field(None, repr=False)

# Allow Op attributes
model_config = ConfigDict(
Expand Down

0 comments on commit f5635cf

Please sign in to comment.