File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
initial_setup/starter_projects Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 33from 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]
Original file line number Diff line number Diff line change 19251925 },
19261926 {
19271927 "name" : " google" ,
1928- "version" : " 0.6.15 "
1928+ "version" : " 0.8.5 "
19291929 },
19301930 {
19311931 "name" : " googleapiclient" ,
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments