Skip to content

Commit 098c5bc

Browse files
committed
apply ruff format
1 parent c49171e commit 098c5bc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

python/packages/kagent-adk/src/kagent/adk/_mcp_toolset.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ class KAgentMCPSessionManager(MCPSessionManager):
5555
the session from the cache and create a new one.
5656
"""
5757

58-
async def _close_and_recreate_session(
59-
self, headers: dict[str, str] | None, reason: str
60-
) -> ClientSession:
58+
async def _close_and_recreate_session(self, headers: dict[str, str] | None, reason: str) -> ClientSession:
6159
"""Close the cached session (best-effort) and create a new one."""
6260
logger.warning("%s", reason)
6361
try:

0 commit comments

Comments
 (0)