Skip to content

Commit 87cacca

Browse files
committed
fix quality check
1 parent 213c269 commit 87cacca

4 files changed

Lines changed: 18 additions & 6 deletions

File tree

src/sap_cloud_sdk/agentgateway/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,13 @@
5252
]
5353
"""
5454

55-
from sap_cloud_sdk.agentgateway._models import AuthResult, MCPTool, Agent, AgentCard, AgentCardFilter
55+
from sap_cloud_sdk.agentgateway._models import (
56+
AuthResult,
57+
MCPTool,
58+
Agent,
59+
AgentCard,
60+
AgentCardFilter,
61+
)
5662
from sap_cloud_sdk.agentgateway.config import ClientConfig
5763
from sap_cloud_sdk.agentgateway.agw_client import create_client, AgentGatewayClient
5864
from sap_cloud_sdk.agentgateway.exceptions import (

src/sap_cloud_sdk/agentgateway/_fragments.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ class FragmentLabel(str, Enum):
3737
def _list_fragments_by_label(label: FragmentLabel, tenant_subdomain: str) -> list:
3838
client = create_fragment_client(instance=_DESTINATION_INSTANCE)
3939
return client.list_instance_fragments(
40-
filter=ListOptions(
41-
filter_labels=[Label(key=LABEL_KEY, values=[label.value])]
42-
),
40+
filter=ListOptions(filter_labels=[Label(key=LABEL_KEY, values=[label.value])]),
4341
tenant=tenant_subdomain,
4442
)
4543

src/sap_cloud_sdk/agentgateway/_lob.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@
2929
)
3030
from sap_cloud_sdk.agentgateway._models import Agent, AgentCard, MCPTool
3131
from sap_cloud_sdk.agentgateway._token_cache import _GatewayUrlCache, _TokenCache
32-
from sap_cloud_sdk.agentgateway.exceptions import AgentGatewaySDKError, MCPServerNotFoundError
32+
from sap_cloud_sdk.agentgateway.exceptions import (
33+
AgentGatewaySDKError,
34+
MCPServerNotFoundError,
35+
)
3336

3437
logger = logging.getLogger(__name__)
3538

src/sap_cloud_sdk/agentgateway/agw_client.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@
2727
get_agent_cards_lob,
2828
get_mcp_tools_lob,
2929
)
30-
from sap_cloud_sdk.agentgateway._models import Agent, AgentCardFilter, AuthResult, MCPTool
30+
from sap_cloud_sdk.agentgateway._models import (
31+
Agent,
32+
AgentCardFilter,
33+
AuthResult,
34+
MCPTool,
35+
)
3136
from sap_cloud_sdk.agentgateway._token_cache import _GatewayUrlCache, _TokenCache
3237
from sap_cloud_sdk.agentgateway.exceptions import AgentGatewaySDKError
3338
from sap_cloud_sdk.core.telemetry import Module, Operation, record_metrics

0 commit comments

Comments
 (0)