refactor: move mcp auth record ownership

This commit is contained in:
lda
2026-06-06 15:01:39 +07:00 Verified
parent 0028528269
commit a28ca5434a
150 changed files with 557 additions and 549 deletions
+6 -2
View File
@@ -25,7 +25,9 @@ async def test_service_catalog_preserves_json_schema_description_metadata() -> N
assert node["input_schema"]["properties"]["text"]["description"] == "Text to echo"
async def test_service_preserves_content_only_tool_output_schema_for_workflows() -> None:
async def test_service_preserves_content_only_tool_output_schema_for_workflows() -> (
None
):
service = WfMcpService(store=FileStore(local_temp_root() / "content_only_store"))
service.register_connection(
ConnectionConfig(
@@ -42,7 +44,9 @@ async def test_service_preserves_content_only_tool_output_schema_for_workflows()
assert node["output_schema"]["required"] == ["content"]
async def test_service_wrapped_tool_adapter_model_validates_simple_schema_types() -> None:
async def test_service_wrapped_tool_adapter_model_validates_simple_schema_types() -> (
None
):
service = WfMcpService(store=FileStore(local_temp_root() / "adapter_model_store"))
service.register_connection(
ConnectionConfig(id="demo.personal", server="demo", account="personal")