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/api/custom_nodes_secure.py +2 -2
- kailash/api/studio_secure.py +1 -1
- kailash/mcp/client_new.py +1 -1
- kailash/mcp/server_new.py +6 -6
- kailash/nodes/ai/a2a.py +1 -1
- kailash/nodes/api/__init__.py +21 -0
- kailash/nodes/code/python.py +6 -0
- kailash/nodes/data/__init__.py +4 -2
- kailash/nodes/data/directory.py +278 -0
- kailash/nodes/data/sql.py +699 -256
- kailash/nodes/transform/processors.py +31 -0
- kailash/runtime/local.py +13 -0
- kailash/workflow/convergence.py +1 -1
- kailash/workflow/cycle_analyzer.py +346 -225
- kailash/workflow/cycle_builder.py +75 -69
- kailash/workflow/cycle_config.py +62 -46
- kailash/workflow/cycle_debugger.py +284 -184
- kailash/workflow/cycle_exceptions.py +111 -97
- kailash/workflow/cycle_profiler.py +272 -202
- kailash/workflow/graph.py +15 -0
- kailash/workflow/migration.py +238 -197
- kailash/workflow/templates.py +124 -105
- kailash/workflow/validation.py +356 -298
- kailash-0.2.2.dist-info/METADATA +121 -0
- {kailash-0.2.0.dist-info → kailash-0.2.2.dist-info}/RECORD +29 -28
- kailash-0.2.0.dist-info/METADATA +0 -1614
- {kailash-0.2.0.dist-info → kailash-0.2.2.dist-info}/WHEEL +0 -0
- {kailash-0.2.0.dist-info → kailash-0.2.2.dist-info}/entry_points.txt +0 -0
- {kailash-0.2.0.dist-info → kailash-0.2.2.dist-info}/licenses/LICENSE +0 -0
- {kailash-0.2.0.dist-info → kailash-0.2.2.dist-info}/top_level.txt +0 -0
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, {})
|