kailash 0.2.0__py3-none-any.whl → 0.2.1__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/mcp/server_new.py +6 -6
- kailash/nodes/data/__init__.py +1 -2
- kailash/nodes/data/sql.py +699 -256
- 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/migration.py +238 -197
- kailash/workflow/templates.py +124 -105
- kailash/workflow/validation.py +356 -298
- {kailash-0.2.0.dist-info → kailash-0.2.1.dist-info}/METADATA +4 -1
- {kailash-0.2.0.dist-info → kailash-0.2.1.dist-info}/RECORD +18 -18
- {kailash-0.2.0.dist-info → kailash-0.2.1.dist-info}/WHEEL +0 -0
- {kailash-0.2.0.dist-info → kailash-0.2.1.dist-info}/entry_points.txt +0 -0
- {kailash-0.2.0.dist-info → kailash-0.2.1.dist-info}/licenses/LICENSE +0 -0
- {kailash-0.2.0.dist-info → kailash-0.2.1.dist-info}/top_level.txt +0 -0
kailash/mcp/server_new.py
CHANGED
@@ -14,7 +14,7 @@ from typing import Callable, List, Optional
|
|
14
14
|
try:
|
15
15
|
from mcp.server import Server
|
16
16
|
from mcp.server.models import InitializationOptions
|
17
|
-
from mcp.types import
|
17
|
+
from mcp.types import Resource, TextContent, Tool
|
18
18
|
|
19
19
|
MCP_AVAILABLE = True
|
20
20
|
except ImportError:
|
@@ -202,15 +202,15 @@ class MCPServer:
|
|
202
202
|
# Determine type
|
203
203
|
param_type = "string" # Default
|
204
204
|
if param.annotation != inspect.Parameter.empty:
|
205
|
-
if param.annotation
|
205
|
+
if param.annotation is int:
|
206
206
|
param_type = "integer"
|
207
|
-
elif param.annotation
|
207
|
+
elif param.annotation is float:
|
208
208
|
param_type = "number"
|
209
|
-
elif param.annotation
|
209
|
+
elif param.annotation is bool:
|
210
210
|
param_type = "boolean"
|
211
|
-
elif param.annotation
|
211
|
+
elif param.annotation is dict:
|
212
212
|
param_type = "object"
|
213
|
-
elif param.annotation
|
213
|
+
elif param.annotation is list:
|
214
214
|
param_type = "array"
|
215
215
|
|
216
216
|
properties[param_name] = {
|
kailash/nodes/data/__init__.py
CHANGED
@@ -87,7 +87,7 @@ from kailash.nodes.data.sharepoint_graph import (
|
|
87
87
|
SharePointGraphWriter,
|
88
88
|
)
|
89
89
|
from kailash.nodes.data.sources import DocumentSourceNode, QuerySourceNode
|
90
|
-
from kailash.nodes.data.sql import SQLDatabaseNode
|
90
|
+
from kailash.nodes.data.sql import SQLDatabaseNode
|
91
91
|
from kailash.nodes.data.streaming import (
|
92
92
|
EventStreamNode,
|
93
93
|
KafkaConsumerNode,
|
@@ -119,7 +119,6 @@ __all__ = [
|
|
119
119
|
"RelevanceScorerNode",
|
120
120
|
# SQL
|
121
121
|
"SQLDatabaseNode",
|
122
|
-
"SQLQueryBuilderNode",
|
123
122
|
# Vector DB
|
124
123
|
"EmbeddingNode",
|
125
124
|
"VectorDatabaseNode",
|