This commit is contained in:
Xi Yan 2025-03-18 14:51:52 -07:00
parent 5c0888c29a
commit a8b0467ec3

View file

@ -13,8 +13,8 @@ from typing import (
Literal, Literal,
Optional, Optional,
Protocol, Protocol,
Union,
runtime_checkable, runtime_checkable,
Union,
) )
from pydantic import BaseModel, Field from pydantic import BaseModel, Field
@ -204,7 +204,7 @@ class Graders(Protocol):
... ...
@webmethod(route="/graders", method="GET") @webmethod(route="/graders", method="GET")
async def list_graders(self) -> List[Grader]: async def list_graders(self) -> ListGradersResponse:
""" """
List all graders. List all graders.
:return: A list of graders. :return: A list of graders.