Skip to content

Commit 6d6e253

Browse files
committed
Linting fixes
1 parent caeb69b commit 6d6e253

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/mcp/client/session.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,13 @@ async def __call__(
3333
params: types.ElicitRequestParams,
3434
) -> types.ElicitResult | types.ErrorData: ... # pragma: no branch
3535

36+
3637
class ElicitCompleteFnT(Protocol):
3738
async def __call__(
38-
self, params: types.ElicitCompleteNotificationParams,
39-
) -> None: ... #pragma: no branch
39+
self,
40+
params: types.ElicitCompleteNotificationParams,
41+
) -> None: ... # pragma: no branch
42+
4043

4144
class ListRootsFnT(Protocol):
4245
async def __call__(
@@ -115,9 +118,8 @@ async def _default_elicitation_callback(
115118
message="Elicitation not supported",
116119
)
117120

118-
async def _default_elicit_complete_callback(
119-
params: types.ElicitCompleteNotificationParams
120-
) -> None:
121+
122+
async def _default_elicit_complete_callback(params: types.ElicitCompleteNotificationParams) -> None:
121123
pass
122124

123125

src/mcp/shared/memory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
import mcp.types as types
1616
from mcp.client.session import (
1717
ClientSession,
18-
ElicitCompleteFnT,
1918
ElicitationFnT,
19+
ElicitCompleteFnT,
2020
ListRootsFnT,
2121
LoggingFnT,
2222
MessageHandlerFnT,

0 commit comments

Comments
 (0)