Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtruong committed Jan 13, 2025
1 parent a27f6d3 commit 2102674
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions weave/trace/objectify.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ def maybe_objectify(obj: WeaveObject) -> T_co | WeaveObject:
return obj

res = cls.from_obj(obj)

if ref := getattr(obj, "ref", None):
res.ref = ref
setattr(res, "ref", ref)

return res

0 comments on commit 2102674

Please sign in to comment.