-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include dataset collection retrieve (#18)
Co-authored-by: Ramon Marques <ramon.marques@toptal.com>
- Loading branch information
1 parent
bb812b6
commit b4b4de3
Showing
4 changed files
with
124 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from __future__ import annotations | ||
|
||
from typing_extensions import Required, TypedDict | ||
|
||
__all__ = ["CollectionRetrieveParams"] | ||
|
||
|
||
class CollectionRetrieveParams(TypedDict, total=False): | ||
name: Required[str] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from typing import List, Optional | ||
from datetime import datetime | ||
|
||
from ..._models import BaseModel | ||
|
||
__all__ = ["CollectionRetrieveResponse"] | ||
|
||
|
||
class CollectionRetrieveResponse(BaseModel): | ||
dataset_ids: List[str] | ||
"""A list of dataset IDs included in this collection.""" | ||
|
||
name: str | ||
|
||
id: Optional[str] = None | ||
|
||
company_id: Optional[str] = None | ||
|
||
creation_time: Optional[datetime] = None | ||
|
||
description: Optional[str] = None | ||
|
||
last_updated_time: Optional[datetime] = None | ||
|
||
user_id: Optional[str] = None |