From b7d5bef64eb392e53a0ccfd2552a30c852f8c821 Mon Sep 17 00:00:00 2001 From: Tiago Kochenborger Date: Wed, 15 Jul 2026 11:28:25 +0200 Subject: [PATCH 1/2] fix(agentgateway): remove telemetry source attribution from _lob.py Remove _telemetry_source=Module.AGENTGATEWAY from create_destination_client calls in _fetch_auth_token and get_ias_client_id_lob, and drop the now-unused Module import. --- src/sap_cloud_sdk/agentgateway/_lob.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/sap_cloud_sdk/agentgateway/_lob.py b/src/sap_cloud_sdk/agentgateway/_lob.py index 83ad4ebd..7e3a91a9 100644 --- a/src/sap_cloud_sdk/agentgateway/_lob.py +++ b/src/sap_cloud_sdk/agentgateway/_lob.py @@ -18,8 +18,6 @@ ConsumptionLevel, ConsumptionOptions, ) -from sap_cloud_sdk.core.telemetry import Module - from sap_cloud_sdk.agentgateway._fragments import ( LABEL_KEY, FragmentLabel, @@ -89,10 +87,7 @@ def _fetch_auth_token( Raises: MCPServerNotFoundError: If no auth token is returned. """ - client = create_destination_client( - instance=_DESTINATION_INSTANCE, - _telemetry_source=Module.AGENTGATEWAY, - ) + client = create_destination_client(instance=_DESTINATION_INSTANCE) dest = client.get_destination( dest_name, level=ConsumptionLevel.PROVIDER_SUBACCOUNT, @@ -134,10 +129,7 @@ def get_ias_client_id_lob() -> str: Any exception raised by the destination client. """ dest_name = _ias_dest_name() - client = create_destination_client( - instance=_DESTINATION_INSTANCE, - _telemetry_source=Module.AGENTGATEWAY, - ) + client = create_destination_client(instance=_DESTINATION_INSTANCE) dest = client.get_destination( dest_name, level=ConsumptionLevel.PROVIDER_SUBACCOUNT, From 93ff663ac1f14e14edbcf899208c5ad854015920 Mon Sep 17 00:00:00 2001 From: Tiago Kochenborger Date: Wed, 15 Jul 2026 11:45:17 +0200 Subject: [PATCH 2/2] chore: bump version to 0.35.1 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a9e4a46a..5e9be9bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "sap-cloud-sdk" -version = "0.35.0" +version = "0.35.1" description = "SAP Cloud SDK for Python" readme = "README.md" license = "Apache-2.0"