Commit a50cf92 1 parent 10a85e4 commit a50cf92 Copy full SHA for a50cf92
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ async def __call__(
21
21
class ListRootsFnT (Protocol ):
22
22
async def __call__ (
23
23
self , context : RequestContext ["ClientSession" , Any ]
24
- ) -> types .ListRootsResult | types .ErrorData : ...
24
+ ) -> types .ListRootsResult | types .ErrorData : ...
25
25
26
26
27
27
async def _default_sampling_callback (
@@ -36,7 +36,7 @@ async def _default_sampling_callback(
36
36
37
37
async def _default_list_roots_callback (
38
38
context : RequestContext ["ClientSession" , Any ],
39
- ) -> types .ListRootsResult | types .ErrorData :
39
+ ) -> types .ListRootsResult | types .ErrorData :
40
40
return types .ErrorData (
41
41
code = types .INVALID_REQUEST ,
42
42
message = "List roots not supported" ,
@@ -317,7 +317,7 @@ async def _received_request(
317
317
response = await self ._list_roots_callback (ctx )
318
318
client_response = ClientResponse .validate_python (response )
319
319
await responder .respond (client_response )
320
-
320
+
321
321
case types .PingRequest ():
322
322
with responder :
323
323
return await responder .respond (
You can’t perform that action at this time.
0 commit comments