fix: ruff format
This commit is contained in:
parent
e503de1c05
commit
2ab3d256f6
1 changed files with 3 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ class SamplingFnT(Protocol):
|
|||
class ListRootsFnT(Protocol):
|
||||
async def __call__(
|
||||
self, context: RequestContext["ClientSession", Any]
|
||||
) -> types.ListRootsResult | types.ErrorData: ...
|
||||
) -> types.ListRootsResult | types.ErrorData: ...
|
||||
|
||||
|
||||
async def _default_sampling_callback(
|
||||
|
|
@ -36,7 +36,7 @@ async def _default_sampling_callback(
|
|||
|
||||
async def _default_list_roots_callback(
|
||||
context: RequestContext["ClientSession", Any],
|
||||
) -> types.ListRootsResult | types.ErrorData:
|
||||
) -> types.ListRootsResult | types.ErrorData:
|
||||
return types.ErrorData(
|
||||
code=types.INVALID_REQUEST,
|
||||
message="List roots not supported",
|
||||
|
|
|
|||
Loading…
Reference in a new issue