fix precommit

This commit is contained in:
Xi Yan 2025-03-13 16:31:38 -07:00
parent a6095820af
commit 887a9772de
5 changed files with 42 additions and 96 deletions

View file

@ -55,6 +55,4 @@ class DatasetIO(Protocol):
...
@webmethod(route="/datasets/{dataset_id}/rows", method="POST")
async def append_rows(
self, dataset_id: str, rows: List[Dict[str, Any]]
) -> None: ...
async def append_rows(self, dataset_id: str, rows: List[Dict[str, Any]]) -> None: ...

View file

@ -13,6 +13,7 @@ from llama_stack.apis.resource import Resource, ResourceType
from llama_stack.schema_utils import json_schema_type, register_schema, webmethod
@json_schema_type
class DatasetPurpose(Enum):
"""
Purpose of the dataset. Each purpose has a required input data schema.