mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 13:34:17 +02:00
fix format
This commit is contained in:
parent
5a57f16989
commit
3fb036cf89
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import datetime
|
||||
from contextlib import AbstractAsyncContextManager
|
||||
from pathlib import Path
|
||||
from typing import Any, Literal, cast, overload, Tuple
|
||||
from typing import Any, Literal, cast, overload
|
||||
|
||||
import mcp.types
|
||||
from mcp import ClientSession
|
||||
|
|
@ -46,7 +46,7 @@ class Client:
|
|||
self.transport = infer_transport(transport)
|
||||
# stack to record nested context manager, None is pushed if reuse existing session
|
||||
self._session_cms: list[
|
||||
Tuple[AbstractAsyncContextManager[ClientSession] | None, ClientSession]
|
||||
tuple[AbstractAsyncContextManager[ClientSession] | None, ClientSession]
|
||||
] = []
|
||||
|
||||
self._session_kwargs: SessionKwargs = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue