mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-15 22:47:59 +00:00
migrate dataset to resource
This commit is contained in:
parent
38cce97597
commit
f8e39ae873
7 changed files with 70 additions and 51 deletions
|
@ -21,7 +21,7 @@ class PaginatedRowsResult(BaseModel):
|
|||
|
||||
|
||||
class DatasetStore(Protocol):
|
||||
def get_dataset(self, identifier: str) -> DatasetDefWithProvider: ...
|
||||
def get_dataset(self, dataset_id: str) -> Dataset: ...
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue