Skip to content

Commit be4b996

Browse files
formatting
Signed-off-by: Prashant <prashant.rakheja@sap.com>
1 parent 69a04b7 commit be4b996

3 files changed

Lines changed: 13 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "sap-cloud-sdk"
3-
version = "0.18.2"
3+
version = "0.19.0"
44
description = "SAP Cloud SDK for Python"
55
readme = "README.md"
66
license = "Apache-2.0"

src/sap_cloud_sdk/agentgateway/_lob.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,9 @@ async def get_mcp_tools_lob(
310310

311311
try:
312312
system_auth = await get_system_auth(tenant_subdomain)
313-
server_tools = await list_server_tools(mcp_url, system_auth, fragment_name, timeout)
313+
server_tools = await list_server_tools(
314+
mcp_url, system_auth, fragment_name, timeout
315+
)
314316
tools.extend(server_tools)
315317
logger.debug(
316318
"Loaded %d tool(s) from fragment '%s'",

src/sap_cloud_sdk/agentgateway/agw_client.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,12 @@ async def call_mcp_tool(
245245

246246
credentials = load_customer_credentials(credentials_path)
247247
return await call_mcp_tool_customer(
248-
credentials, tool, resolved_user_token, app_tid, self._timeout, **kwargs
248+
credentials,
249+
tool,
250+
resolved_user_token,
251+
app_tid,
252+
self._timeout,
253+
**kwargs,
249254
)
250255

251256
# LoB flow - requires user_token and tenant_subdomain
@@ -258,7 +263,9 @@ async def call_mcp_tool(
258263
logger.warning("app_tid parameter ignored for LoB agent flow")
259264

260265
tenant = self._resolve_tenant_subdomain()
261-
return await call_mcp_tool_lob(tool, resolved_user_token, tenant, self._timeout, **kwargs)
266+
return await call_mcp_tool_lob(
267+
tool, resolved_user_token, tenant, self._timeout, **kwargs
268+
)
262269

263270
except AgentGatewaySDKError:
264271
# Re-raise SDK errors as-is

0 commit comments

Comments
 (0)