Skip to content

Commit

Permalink
only pop graph if 'serialized' is not none (#1336)
Browse files Browse the repository at this point in the history
  • Loading branch information
isahers1 authored Dec 17, 2024
1 parent 49f6b50 commit 7039534
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)
else:
elif run_create.get("serialized"):
# Drop graph
run_create["serialized"].pop("graph", None)

Expand Down

0 comments on commit 7039534

Please sign in to comment.