Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 98
configured_endpoints: 96
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-02fbb644978089e8596def9999f5729633b652fba35bf04e374dbb71e7630355.yml
15 changes: 0 additions & 15 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,21 +410,6 @@ Methods:

- <code title="get /v1/dataframes/{dataframe_id}">client.dataframes.<a href="./src/asktable/resources/dataframes.py">retrieve</a>(dataframe_id) -> <a href="./src/asktable/types/dataframe_retrieve_response.py">DataframeRetrieveResponse</a></code>

# SingleTurn

## Q2w

Types:

```python
from asktable.types.single_turn import Q2wCreateResponse, Q2wListResponse
```

Methods:

- <code title="post /v1/single-turn/q2w">client.single_turn.q2w.<a href="./src/asktable/resources/single_turn/q2w.py">create</a>(\*\*<a href="src/asktable/types/single_turn/q2w_create_params.py">params</a>) -> <a href="./src/asktable/types/single_turn/q2w_create_response.py">object</a></code>
- <code title="get /v1/single-turn/q2w">client.single_turn.q2w.<a href="./src/asktable/resources/single_turn/q2w.py">list</a>() -> <a href="./src/asktable/types/single_turn/q2w_list_response.py">object</a></code>

# Polish

Types:
Expand Down
9 changes: 0 additions & 9 deletions src/asktable/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
from .resources.chats import chats
from .resources.extapis import extapis
from .resources.datasources import datasources
from .resources.single_turn import single_turn

__all__ = [
"Timeout",
Expand Down Expand Up @@ -89,7 +88,6 @@ class Asktable(SyncAPIClient):
scores: scores.ScoresResource
files: files.FilesResource
dataframes: dataframes.DataframesResource
single_turn: single_turn.SingleTurnResource
polish: polish.PolishResource
with_raw_response: AsktableWithRawResponse
with_streaming_response: AsktableWithStreamedResponse
Expand Down Expand Up @@ -168,7 +166,6 @@ def __init__(
self.scores = scores.ScoresResource(self)
self.files = files.FilesResource(self)
self.dataframes = dataframes.DataframesResource(self)
self.single_turn = single_turn.SingleTurnResource(self)
self.polish = polish.PolishResource(self)
self.with_raw_response = AsktableWithRawResponse(self)
self.with_streaming_response = AsktableWithStreamedResponse(self)
Expand Down Expand Up @@ -299,7 +296,6 @@ class AsyncAsktable(AsyncAPIClient):
scores: scores.AsyncScoresResource
files: files.AsyncFilesResource
dataframes: dataframes.AsyncDataframesResource
single_turn: single_turn.AsyncSingleTurnResource
polish: polish.AsyncPolishResource
with_raw_response: AsyncAsktableWithRawResponse
with_streaming_response: AsyncAsktableWithStreamedResponse
Expand Down Expand Up @@ -378,7 +374,6 @@ def __init__(
self.scores = scores.AsyncScoresResource(self)
self.files = files.AsyncFilesResource(self)
self.dataframes = dataframes.AsyncDataframesResource(self)
self.single_turn = single_turn.AsyncSingleTurnResource(self)
self.polish = polish.AsyncPolishResource(self)
self.with_raw_response = AsyncAsktableWithRawResponse(self)
self.with_streaming_response = AsyncAsktableWithStreamedResponse(self)
Expand Down Expand Up @@ -510,7 +505,6 @@ def __init__(self, client: Asktable) -> None:
self.scores = scores.ScoresResourceWithRawResponse(client.scores)
self.files = files.FilesResourceWithRawResponse(client.files)
self.dataframes = dataframes.DataframesResourceWithRawResponse(client.dataframes)
self.single_turn = single_turn.SingleTurnResourceWithRawResponse(client.single_turn)
self.polish = polish.PolishResourceWithRawResponse(client.polish)


Expand Down Expand Up @@ -538,7 +532,6 @@ def __init__(self, client: AsyncAsktable) -> None:
self.scores = scores.AsyncScoresResourceWithRawResponse(client.scores)
self.files = files.AsyncFilesResourceWithRawResponse(client.files)
self.dataframes = dataframes.AsyncDataframesResourceWithRawResponse(client.dataframes)
self.single_turn = single_turn.AsyncSingleTurnResourceWithRawResponse(client.single_turn)
self.polish = polish.AsyncPolishResourceWithRawResponse(client.polish)


Expand Down Expand Up @@ -566,7 +559,6 @@ def __init__(self, client: Asktable) -> None:
self.scores = scores.ScoresResourceWithStreamingResponse(client.scores)
self.files = files.FilesResourceWithStreamingResponse(client.files)
self.dataframes = dataframes.DataframesResourceWithStreamingResponse(client.dataframes)
self.single_turn = single_turn.SingleTurnResourceWithStreamingResponse(client.single_turn)
self.polish = polish.PolishResourceWithStreamingResponse(client.polish)


Expand Down Expand Up @@ -594,7 +586,6 @@ def __init__(self, client: AsyncAsktable) -> None:
self.scores = scores.AsyncScoresResourceWithStreamingResponse(client.scores)
self.files = files.AsyncFilesResourceWithStreamingResponse(client.files)
self.dataframes = dataframes.AsyncDataframesResourceWithStreamingResponse(client.dataframes)
self.single_turn = single_turn.AsyncSingleTurnResourceWithStreamingResponse(client.single_turn)
self.polish = polish.AsyncPolishResourceWithStreamingResponse(client.polish)


Expand Down
14 changes: 0 additions & 14 deletions src/asktable/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,6 @@
PreferencesResourceWithStreamingResponse,
AsyncPreferencesResourceWithStreamingResponse,
)
from .single_turn import (
SingleTurnResource,
AsyncSingleTurnResource,
SingleTurnResourceWithRawResponse,
AsyncSingleTurnResourceWithRawResponse,
SingleTurnResourceWithStreamingResponse,
AsyncSingleTurnResourceWithStreamingResponse,
)
from .securetunnels import (
SecuretunnelsResource,
AsyncSecuretunnelsResource,
Expand Down Expand Up @@ -298,12 +290,6 @@
"AsyncDataframesResourceWithRawResponse",
"DataframesResourceWithStreamingResponse",
"AsyncDataframesResourceWithStreamingResponse",
"SingleTurnResource",
"AsyncSingleTurnResource",
"SingleTurnResourceWithRawResponse",
"AsyncSingleTurnResourceWithRawResponse",
"SingleTurnResourceWithStreamingResponse",
"AsyncSingleTurnResourceWithStreamingResponse",
"PolishResource",
"AsyncPolishResource",
"PolishResourceWithRawResponse",
Expand Down
33 changes: 0 additions & 33 deletions src/asktable/resources/single_turn/__init__.py

This file was deleted.

215 changes: 0 additions & 215 deletions src/asktable/resources/single_turn/q2w.py

This file was deleted.

Loading