From 259fc88a6d3deb3b30d4b8be036f43d5dcad3372 Mon Sep 17 00:00:00 2001 From: isaac hershenson Date: Mon, 16 Dec 2024 10:30:08 -0800 Subject: [PATCH] fix --- python/langsmith/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/langsmith/client.py b/python/langsmith/client.py index 402bba22b..40fa2c60f 100644 --- a/python/langsmith/client.py +++ b/python/langsmith/client.py @@ -1179,7 +1179,7 @@ def _run_transform( ): # Drop completely run_create.pop("serialized", None) - elif not run_create.get("serialized"): + elif run_create.get("serialized"): # Drop graph run_create["serialized"].pop("graph", None)