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
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 74
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-2501e64cd24ad589fc833556bbecd5f54321add8f57b18c6af3503a75be0101f.yml
configured_endpoints: 70
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-eacc19681b584d12739c5775cf012c0a50792f7cf1e12d80d28d2ac0786a896f.yml
15 changes: 0 additions & 15 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,18 +342,3 @@ from asktable.types.sys.projects import TokenCreateResponse
Methods:

- <code title="post /sys/projects/{project_id}/tokens">client.sys.projects.tokens.<a href="./src/asktable/resources/sys/projects/tokens.py">create</a>(project_id, \*\*<a href="src/asktable/types/sys/projects/token_create_params.py">params</a>) -> <a href="./src/asktable/types/sys/projects/token_create_response.py">object</a></code>

# KB

Types:

```python
from asktable.types import Document, PageDocument, KBCreateResponse, KBDeleteResponse
```

Methods:

- <code title="post /kb">client.kb.<a href="./src/asktable/resources/kb.py">create</a>(\*\*<a href="src/asktable/types/kb_create_params.py">params</a>) -> <a href="./src/asktable/types/kb_create_response.py">KBCreateResponse</a></code>
- <code title="get /kb/{doc_id}">client.kb.<a href="./src/asktable/resources/kb.py">retrieve</a>(doc_id) -> <a href="./src/asktable/types/document.py">Document</a></code>
- <code title="get /kb">client.kb.<a href="./src/asktable/resources/kb.py">list</a>(\*\*<a href="src/asktable/types/kb_list_params.py">params</a>) -> <a href="./src/asktable/types/page_document.py">PageDocument</a></code>
- <code title="delete /kb/{doc_id}">client.kb.<a href="./src/asktable/resources/kb.py">delete</a>(doc_id) -> <a href="./src/asktable/types/kb_delete_response.py">object</a></code>
8 changes: 0 additions & 8 deletions src/asktable/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ class Asktable(SyncAPIClient):
caches: resources.CachesResource
integration: resources.IntegrationResource
sys: resources.SysResource
kb: resources.KBResource
with_raw_response: AsktableWithRawResponse
with_streaming_response: AsktableWithStreamedResponse

Expand Down Expand Up @@ -128,7 +127,6 @@ def __init__(
self.caches = resources.CachesResource(self)
self.integration = resources.IntegrationResource(self)
self.sys = resources.SysResource(self)
self.kb = resources.KBResource(self)
self.with_raw_response = AsktableWithRawResponse(self)
self.with_streaming_response = AsktableWithStreamedResponse(self)

Expand Down Expand Up @@ -250,7 +248,6 @@ class AsyncAsktable(AsyncAPIClient):
caches: resources.AsyncCachesResource
integration: resources.AsyncIntegrationResource
sys: resources.AsyncSysResource
kb: resources.AsyncKBResource
with_raw_response: AsyncAsktableWithRawResponse
with_streaming_response: AsyncAsktableWithStreamedResponse

Expand Down Expand Up @@ -320,7 +317,6 @@ def __init__(
self.caches = resources.AsyncCachesResource(self)
self.integration = resources.AsyncIntegrationResource(self)
self.sys = resources.AsyncSysResource(self)
self.kb = resources.AsyncKBResource(self)
self.with_raw_response = AsyncAsktableWithRawResponse(self)
self.with_streaming_response = AsyncAsktableWithStreamedResponse(self)

Expand Down Expand Up @@ -443,7 +439,6 @@ def __init__(self, client: Asktable) -> None:
self.caches = resources.CachesResourceWithRawResponse(client.caches)
self.integration = resources.IntegrationResourceWithRawResponse(client.integration)
self.sys = resources.SysResourceWithRawResponse(client.sys)
self.kb = resources.KBResourceWithRawResponse(client.kb)


class AsyncAsktableWithRawResponse:
Expand All @@ -460,7 +455,6 @@ def __init__(self, client: AsyncAsktable) -> None:
self.caches = resources.AsyncCachesResourceWithRawResponse(client.caches)
self.integration = resources.AsyncIntegrationResourceWithRawResponse(client.integration)
self.sys = resources.AsyncSysResourceWithRawResponse(client.sys)
self.kb = resources.AsyncKBResourceWithRawResponse(client.kb)


class AsktableWithStreamedResponse:
Expand All @@ -477,7 +471,6 @@ def __init__(self, client: Asktable) -> None:
self.caches = resources.CachesResourceWithStreamingResponse(client.caches)
self.integration = resources.IntegrationResourceWithStreamingResponse(client.integration)
self.sys = resources.SysResourceWithStreamingResponse(client.sys)
self.kb = resources.KBResourceWithStreamingResponse(client.kb)


class AsyncAsktableWithStreamedResponse:
Expand All @@ -494,7 +487,6 @@ def __init__(self, client: AsyncAsktable) -> None:
self.caches = resources.AsyncCachesResourceWithStreamingResponse(client.caches)
self.integration = resources.AsyncIntegrationResourceWithStreamingResponse(client.integration)
self.sys = resources.AsyncSysResourceWithStreamingResponse(client.sys)
self.kb = resources.AsyncKBResourceWithStreamingResponse(client.kb)


Client = Asktable
Expand Down
14 changes: 0 additions & 14 deletions src/asktable/resources/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from .kb import (
KBResource,
AsyncKBResource,
KBResourceWithRawResponse,
AsyncKBResourceWithRawResponse,
KBResourceWithStreamingResponse,
AsyncKBResourceWithStreamingResponse,
)
from .sys import (
SysResource,
AsyncSysResource,
Expand Down Expand Up @@ -178,10 +170,4 @@
"AsyncSysResourceWithRawResponse",
"SysResourceWithStreamingResponse",
"AsyncSysResourceWithStreamingResponse",
"KBResource",
"AsyncKBResource",
"KBResourceWithRawResponse",
"AsyncKBResourceWithRawResponse",
"KBResourceWithStreamingResponse",
"AsyncKBResourceWithStreamingResponse",
]
Loading