Skip to content

Commit 2c6f53c

Browse files
committed
fixed formatting
1 parent eafc39d commit 2c6f53c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/sap_cloud_sdk/extensibility/client.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,9 @@ def call_hook(
396396
f"Last status: {last_status!r}"
397397
)
398398

399-
async def _discover_n8n_tools(self, agw_client: Any, user_token: Optional[str]) -> tuple[Any, Any]:
399+
async def _discover_n8n_tools(
400+
self, agw_client: Any, user_token: Optional[str]
401+
) -> tuple[Any, Any]:
400402
# TODO: cache the list of mcp tools for performance.
401403
tools = await agw_client.list_mcp_tools(user_token=user_token or None)
402404

@@ -612,7 +614,9 @@ async def call_hook_agw(
612614
```
613615
"""
614616
agw_client = create_agw_client(tenant_subdomain)
615-
execute_tool, get_exec_tool = await self._discover_n8n_tools(agw_client, user_token)
617+
execute_tool, get_exec_tool = await self._discover_n8n_tools(
618+
agw_client, user_token
619+
)
616620
execution_id, status = await self._execute_workflow_via_agw(
617621
agw_client, execute_tool, hook, user_token, message, headers
618622
)

0 commit comments

Comments
 (0)