File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,13 @@ async def __call__(
3333 params : types .ElicitRequestParams ,
3434 ) -> types .ElicitResult | types .ErrorData : ... # pragma: no branch
3535
36+
3637class 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
4144class 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
Original file line number Diff line number Diff line change 1515import mcp .types as types
1616from mcp .client .session import (
1717 ClientSession ,
18- ElicitCompleteFnT ,
1918 ElicitationFnT ,
19+ ElicitCompleteFnT ,
2020 ListRootsFnT ,
2121 LoggingFnT ,
2222 MessageHandlerFnT ,
You can’t perform that action at this time.
0 commit comments