Deprecate roots, sampling, and logging methods per SEP-2577 (#2926)
This commit is contained in:
parent
5734acf18e
commit
4573e4ac33
1 changed files with 206 additions and 123 deletions
|
|
@ -25,7 +25,7 @@ async def test_list_roots_callback():
|
|||
|
||||
@server.tool("test_list_roots")
|
||||
async def test_list_roots(context: Context, message: str):
|
||||
roots = await context.session.list_roots()
|
||||
roots = await context.session.list_roots() # pyright: ignore[reportDeprecated]
|
||||
assert roots == callback_return
|
||||
return True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue