MCPcopy Create free account
hub / github.com/modelscope/ms-agent / __aexit__

Method __aexit__

ms_agent/tools/mcp_client.py:307–313  ·  view source on GitHub ↗
(
        self,
        exc_type: type[BaseException] | None,
        exc_val: BaseException | None,
        exc_tb: TracebackType | None,
    )

Source from the content-addressed store, hash-verified

305 raise
306
307 async def __aexit__(
308 self,
309 exc_type: type[BaseException] | None,
310 exc_val: BaseException | None,
311 exc_tb: TracebackType | None,
312 ) -> None:
313 await self.exit_stack.aclose()

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by 1

mainMethod · 0.76