This commit is contained in:
Xi Yan 2025-03-12 00:21:34 -07:00
parent 124040af77
commit e68e8c96ae

View file

@ -248,7 +248,8 @@ class ScoringFunctions(Protocol):
@webmethod(route="/scoring-functions/{scoring_fn_id:path}", method="GET") @webmethod(route="/scoring-functions/{scoring_fn_id:path}", method="GET")
async def get_scoring_function( async def get_scoring_function(
self, scoring_fn_id: str, / self,
scoring_fn_id: str,
) -> Optional[ScoringFn]: ... ) -> Optional[ScoringFn]: ...
@webmethod(route="/scoring-functions", method="POST") @webmethod(route="/scoring-functions", method="POST")