Skip to content

Commit c8e0c38

Browse files
Tapan Chughfelixweinberger
authored andcommitted
nit
1 parent e0f890c commit c8e0c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/server/fastmcp/test_elicitation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ async def select_color_deprecated(ctx: Context) -> str:
355355
return f"User: {result.data.user_name}, Color: {result.data.color}"
356356
return f"User {result.action}"
357357

358-
async def enum_callback(context, params):
358+
async def enum_callback(context: RequestContext[ClientSession, Any], params: ElicitRequestParams):
359359
if "colors" in params.message and "deprecated" not in params.message:
360360
return ElicitResult(action="accept", content={"user_name": "Bob", "favorite_colors": ["red", "green"]})
361361
elif "color" in params.message:

0 commit comments

Comments
 (0)