File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -336,9 +336,7 @@ async def test_handle_request_populates_session_tenant_id():
336336 captured_ctx_tenant : str | None = None
337337 captured_session_tenant : str | None = None
338338
339- async def handle_list_tools (
340- ctx : ServerRequestContext , params : PaginatedRequestParams | None
341- ) -> ListToolsResult :
339+ async def handle_list_tools (ctx : ServerRequestContext , params : PaginatedRequestParams | None ) -> ListToolsResult :
342340 nonlocal captured_ctx_tenant , captured_session_tenant
343341 captured_ctx_tenant = ctx .tenant_id
344342 captured_session_tenant = ctx .session .tenant_id
@@ -378,9 +376,7 @@ async def test_handle_notification_populates_session_tenant_id():
378376 notification_tenant : str | None = None
379377 notification_received = anyio .Event ()
380378
381- async def handle_roots_list_changed (
382- ctx : ServerRequestContext , params : NotificationParams | None
383- ) -> None :
379+ async def handle_roots_list_changed (ctx : ServerRequestContext , params : NotificationParams | None ) -> None :
384380 nonlocal notification_tenant
385381 notification_tenant = ctx .tenant_id
386382 notification_received .set ()
You can’t perform that action at this time.
0 commit comments