Skip to content

Commit 9afc891

Browse files
committed
ruff (mcp)
1 parent 945d3ff commit 9afc891

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/backend/base/langflow/api/utils/mcp/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
from langflow.api.utils.mcp.config_utils import (
44
auto_configure_starter_projects_mcp,
55
get_composer_streamable_http_url,
6-
get_project_streamable_http_url,
76
get_project_sse_url,
7+
get_project_streamable_http_url,
88
get_url_by_os,
99
)
1010

1111
__all__ = [
1212
"auto_configure_starter_projects_mcp",
1313
"get_composer_streamable_http_url",
14-
"get_project_streamable_http_url",
1514
"get_project_sse_url",
15+
"get_project_streamable_http_url",
1616
"get_url_by_os",
1717
]

src/backend/base/langflow/initial_setup/starter_projects/News Aggregator.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1925,7 +1925,7 @@
19251925
},
19261926
{
19271927
"name": "google",
1928-
"version": "0.6.15"
1928+
"version": "0.8.5"
19291929
},
19301930
{
19311931
"name": "googleapiclient",

src/backend/tests/unit/api/v1/test_mcp_projects.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,17 @@ def mock_streamable_http_manager():
7474
"""Mock StreamableHTTPSessionManager used by ProjectMCPServer."""
7575
with patch("langflow.api.v1.mcp_projects.StreamableHTTPSessionManager") as mock_class:
7676
manager_instance = MagicMock()
77-
77+
7878
# Mock the run() method to return an async context manager
7979
async_cm = AsyncContextManagerMock()
8080
manager_instance.run = MagicMock(return_value=async_cm)
81-
81+
8282
# Mock handle_request as an async method (this is what gets called, not handle_post_message)
8383
manager_instance.handle_request = AsyncMock()
84-
84+
8585
# Make the class constructor return our mocked instance
8686
mock_class.return_value = manager_instance
87-
87+
8888
yield manager_instance
8989

9090

0 commit comments

Comments
 (0)