kailash 0.2.0__py3-none-any.whl → 0.2.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
kailash/workflow/graph.py CHANGED
@@ -928,6 +928,14 @@ class Workflow:
928
928
  to_input = edge_data.get("to_input")
929
929
  mapping = edge_data.get("mapping", {})
930
930
 
931
+ print(f"CONNECTION DEBUG: {source_node_id} -> {node_id}")
932
+ print(f" Edge data: {edge_data}")
933
+ print(f" from_output: {from_output}, to_input: {to_input}")
934
+ print(f" mapping: {mapping}")
935
+ print(
936
+ f" source_results keys: {list(results.get(source_node_id, {}).keys())}"
937
+ )
938
+
931
939
  source_results = results.get(source_node_id, {})
932
940
 
933
941
  # Handle backward compatibility - from_output/to_input can be string or list
@@ -951,6 +959,13 @@ class Workflow:
951
959
  for source_key, target_key in mapping.items():
952
960
  if source_key in source_results:
953
961
  node_inputs[target_key] = source_results[source_key]
962
+ print(
963
+ f"MAPPING DEBUG: {source_key} -> {target_key}, value type: {type(source_results[source_key])}"
964
+ )
965
+ else:
966
+ print(
967
+ f"MAPPING DEBUG: Source key '{source_key}' not found in source results: {list(source_results.keys())}"
968
+ )
954
969
 
955
970
  # Apply overrides
956
971
  node_overrides = inputs.get(node_id, {})