forked from phoenix-oss/llama-stack-mirror
feat(dataset api): (1.1/n) dataset api implementation fix pre-commit (#1625)
# What does this PR do? - fix pre-commit with api updates [//]: # (If resolving an issue, uncomment and update the line below) [//]: # (Closes #[issue-number]) ## Test Plan ``` pre-commit ``` [//]: # (## Documentation)
This commit is contained in:
parent
a6095820af
commit
7606e49dbc
5 changed files with 42 additions and 97 deletions
|
@ -13,7 +13,7 @@ from llama_stack.apis.resource import Resource, ResourceType
|
|||
from llama_stack.schema_utils import json_schema_type, register_schema, webmethod
|
||||
|
||||
|
||||
class DatasetPurpose(Enum):
|
||||
class DatasetPurpose(str, Enum):
|
||||
"""
|
||||
Purpose of the dataset. Each purpose has a required input data schema.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue