Skip to content

Commit

Permalink
will comment
Browse files Browse the repository at this point in the history
  • Loading branch information
isahers1 committed Dec 13, 2024
1 parent 7e633b0 commit 1079b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/langsmith/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,7 @@ def _run_transform(
):
# Drop completely
run_create.pop("serialized", None)
elif run_create["serialized"] is not None:
elif not run_create.get("serialized"):
# Drop graph
run_create["serialized"].pop("graph", None)

Expand Down

0 comments on commit 1079b3e

Please sign in to comment.