File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ classifiers = [
13
13
" Development Status :: 3 - Alpha" ,
14
14
" Intended Audience :: Developers" ,
15
15
" Topic :: Software Development :: Build Tools" ,
16
- " Programming Language :: Python :: 3.10" ,
17
16
" Programming Language :: Python :: 3.11" ,
18
17
" Programming Language :: Python :: 3.12" ,
18
+ " Programming Language :: Python :: 3.13" ,
19
19
]
20
20
maintainers = [
21
21
{
name =
" Marius Cosareanu" ,
email =
" [email protected] " },
Original file line number Diff line number Diff line change 1
1
import asyncio
2
2
import json
3
- from typing import Any , Callable , overload
4
3
import uuid
4
+ from typing import Any , Callable , overload
5
5
6
6
from uipath ._cli .middlewares import MiddlewareResult
7
7
@@ -28,7 +28,6 @@ async def mcp_init_middleware_async(
28
28
entrypoints = []
29
29
30
30
for server in config .get_servers ():
31
-
32
31
if entrypoint and server .name != entrypoint :
33
32
continue
34
33
@@ -37,14 +36,12 @@ async def mcp_init_middleware_async(
37
36
"uniqueId" : str (uuid .uuid4 ()),
38
37
"type" : "mcpserver" ,
39
38
"input" : {},
40
- "output" : {}
39
+ "output" : {},
41
40
}
42
41
43
42
entrypoints .append (entrypoint_data )
44
43
45
- uipath_data = {
46
- "entryPoints" : entrypoints
47
- }
44
+ uipath_data = {"entryPoints" : entrypoints }
48
45
49
46
if write_config :
50
47
config_path = write_config (uipath_data )
@@ -66,6 +63,7 @@ async def mcp_init_middleware_async(
66
63
should_include_stacktrace = True ,
67
64
)
68
65
66
+
69
67
@overload
70
68
def mcp_init_middleware (entrypoint : str ) -> MiddlewareResult : ...
71
69
@@ -78,7 +76,6 @@ def mcp_init_middleware(
78
76
) -> MiddlewareResult : ...
79
77
80
78
81
-
82
79
def mcp_init_middleware (
83
80
entrypoint : str ,
84
81
options : dict [str , Any ] | None = None ,
You can’t perform that action at this time.
0 commit comments