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 = [
1313 " Development Status :: 3 - Alpha" ,
1414 " Intended Audience :: Developers" ,
1515 " Topic :: Software Development :: Build Tools" ,
16- " Programming Language :: Python :: 3.10" ,
1716 " Programming Language :: Python :: 3.11" ,
1817 " Programming Language :: Python :: 3.12" ,
18+ " Programming Language :: Python :: 3.13" ,
1919]
2020maintainers = [
2121 {
name =
" Marius Cosareanu" ,
email =
" [email protected] " },
Original file line number Diff line number Diff line change 11import asyncio
22import json
3- from typing import Any , Callable , overload
43import uuid
4+ from typing import Any , Callable , overload
55
66from uipath ._cli .middlewares import MiddlewareResult
77
@@ -28,7 +28,6 @@ async def mcp_init_middleware_async(
2828 entrypoints = []
2929
3030 for server in config .get_servers ():
31-
3231 if entrypoint and server .name != entrypoint :
3332 continue
3433
@@ -37,14 +36,12 @@ async def mcp_init_middleware_async(
3736 "uniqueId" : str (uuid .uuid4 ()),
3837 "type" : "mcpserver" ,
3938 "input" : {},
40- "output" : {}
39+ "output" : {},
4140 }
4241
4342 entrypoints .append (entrypoint_data )
4443
45- uipath_data = {
46- "entryPoints" : entrypoints
47- }
44+ uipath_data = {"entryPoints" : entrypoints }
4845
4946 if write_config :
5047 config_path = write_config (uipath_data )
@@ -66,6 +63,7 @@ async def mcp_init_middleware_async(
6663 should_include_stacktrace = True ,
6764 )
6865
66+
6967@overload
7068def mcp_init_middleware (entrypoint : str ) -> MiddlewareResult : ...
7169
@@ -78,7 +76,6 @@ def mcp_init_middleware(
7876) -> MiddlewareResult : ...
7977
8078
81-
8279def mcp_init_middleware (
8380 entrypoint : str ,
8481 options : dict [str , Any ] | None = None ,
You can’t perform that action at this time.
0 commit comments