Skip to content

Commit b64991e

Browse files
committed
apply ruff format
1 parent c81e452 commit b64991e

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

‎src/sap_cloud_sdk/agentgateway/_models.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class JsonRpcError:
103103
104104
AGW returns HTTP 200 with a JSON-RPC error body when the request is
105105
structurally valid but the server encountered an error.
106-
106+
107107
Example: {"jsonrpc": "2.0", "error": {"code": -32603, "message": "Internal Server Error"}}
108108
109109
Attributes:

‎src/sap_cloud_sdk/agentgateway/agw_client.py‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,9 @@ async def get_user_auth(
285285
access_token=token,
286286
gateway_url=credentials.gateway_url,
287287
)
288-
logger.info("User auth token obtained — gateway: '%s'", result.gateway_url)
288+
logger.info(
289+
"User auth token obtained — gateway: '%s'", result.gateway_url
290+
)
289291
return result
290292

291293
# Check for transparent mode
@@ -305,7 +307,9 @@ async def get_user_auth(
305307
access_token=token,
306308
gateway_url=credentials.gateway_url,
307309
)
308-
logger.info("User auth token obtained — gateway: '%s'", result.gateway_url)
310+
logger.info(
311+
"User auth token obtained — gateway: '%s'", result.gateway_url
312+
)
309313
return result
310314

311315
tenant = self._resolve_tenant_subdomain()

0 commit comments

Comments
 (0)