Skip to content

Commit 801513a

Browse files
feat(api): manual updates
1 parent cb76da7 commit 801513a

22 files changed

+111
-408
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 15
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/zeroentropy%2Fzeroentropy-f06c49dfd4b38a4f9d5bcad56348156bbf641aa8b7968acfbf655ad6ceff2126.yml
3-
openapi_spec_hash: cac52dd65fbcb65ffa7a183e764b7f06
1+
configured_endpoints: 14
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/zeroentropy%2Fzeroentropy-bd2f55f423e09b74f83cbad6034fb76f7052363308d02533a908b49543cff459.yml
3+
openapi_spec_hash: 6d7566ebda7fecac4069744949d547e0
44
config_hash: beba80a17ba64c5439712e85129ab5ad

api.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
# Admin
2-
3-
Types:
4-
5-
```python
6-
from zeroentropy.types import AdminCreateOrganizationResponse
7-
```
8-
9-
Methods:
10-
11-
- <code title="post /admin/create-organization">client.admin.<a href="./src/zeroentropy/resources/admin.py">create_organization</a>(\*\*<a href="src/zeroentropy/types/admin_create_organization_params.py">params</a>) -> <a href="./src/zeroentropy/types/admin_create_organization_response.py">AdminCreateOrganizationResponse</a></code>
12-
131
# Status
142

153
Types:

requirements-dev.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ httpx==0.28.1
5656
# via httpx-aiohttp
5757
# via respx
5858
# via zeroentropy
59-
httpx-aiohttp==0.1.6
59+
httpx-aiohttp==0.1.8
6060
# via zeroentropy
6161
idna==3.4
6262
# via anyio

requirements.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ httpcore==1.0.2
4343
httpx==0.28.1
4444
# via httpx-aiohttp
4545
# via zeroentropy
46-
httpx-aiohttp==0.1.6
46+
httpx-aiohttp==0.1.8
4747
# via zeroentropy
4848
idna==3.4
4949
# via anyio

src/zeroentropy/_client.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
)
2222
from ._utils import is_given, get_async_library
2323
from ._version import __version__
24-
from .resources import admin, status, parsers, queries, documents, collections
24+
from .resources import status, parsers, queries, documents, collections
2525
from ._streaming import Stream as Stream, AsyncStream as AsyncStream
2626
from ._exceptions import APIStatusError, ZeroEntropyError
2727
from ._base_client import (
@@ -43,7 +43,6 @@
4343

4444

4545
class ZeroEntropy(SyncAPIClient):
46-
admin: admin.AdminResource
4746
status: status.StatusResource
4847
collections: collections.CollectionsResource
4948
documents: documents.DocumentsResource
@@ -106,7 +105,6 @@ def __init__(
106105
_strict_response_validation=_strict_response_validation,
107106
)
108107

109-
self.admin = admin.AdminResource(self)
110108
self.status = status.StatusResource(self)
111109
self.collections = collections.CollectionsResource(self)
112110
self.documents = documents.DocumentsResource(self)
@@ -221,7 +219,6 @@ def _make_status_error(
221219

222220

223221
class AsyncZeroEntropy(AsyncAPIClient):
224-
admin: admin.AsyncAdminResource
225222
status: status.AsyncStatusResource
226223
collections: collections.AsyncCollectionsResource
227224
documents: documents.AsyncDocumentsResource
@@ -284,7 +281,6 @@ def __init__(
284281
_strict_response_validation=_strict_response_validation,
285282
)
286283

287-
self.admin = admin.AsyncAdminResource(self)
288284
self.status = status.AsyncStatusResource(self)
289285
self.collections = collections.AsyncCollectionsResource(self)
290286
self.documents = documents.AsyncDocumentsResource(self)
@@ -400,7 +396,6 @@ def _make_status_error(
400396

401397
class ZeroEntropyWithRawResponse:
402398
def __init__(self, client: ZeroEntropy) -> None:
403-
self.admin = admin.AdminResourceWithRawResponse(client.admin)
404399
self.status = status.StatusResourceWithRawResponse(client.status)
405400
self.collections = collections.CollectionsResourceWithRawResponse(client.collections)
406401
self.documents = documents.DocumentsResourceWithRawResponse(client.documents)
@@ -410,7 +405,6 @@ def __init__(self, client: ZeroEntropy) -> None:
410405

411406
class AsyncZeroEntropyWithRawResponse:
412407
def __init__(self, client: AsyncZeroEntropy) -> None:
413-
self.admin = admin.AsyncAdminResourceWithRawResponse(client.admin)
414408
self.status = status.AsyncStatusResourceWithRawResponse(client.status)
415409
self.collections = collections.AsyncCollectionsResourceWithRawResponse(client.collections)
416410
self.documents = documents.AsyncDocumentsResourceWithRawResponse(client.documents)
@@ -420,7 +414,6 @@ def __init__(self, client: AsyncZeroEntropy) -> None:
420414

421415
class ZeroEntropyWithStreamedResponse:
422416
def __init__(self, client: ZeroEntropy) -> None:
423-
self.admin = admin.AdminResourceWithStreamingResponse(client.admin)
424417
self.status = status.StatusResourceWithStreamingResponse(client.status)
425418
self.collections = collections.CollectionsResourceWithStreamingResponse(client.collections)
426419
self.documents = documents.DocumentsResourceWithStreamingResponse(client.documents)
@@ -430,7 +423,6 @@ def __init__(self, client: ZeroEntropy) -> None:
430423

431424
class AsyncZeroEntropyWithStreamedResponse:
432425
def __init__(self, client: AsyncZeroEntropy) -> None:
433-
self.admin = admin.AsyncAdminResourceWithStreamingResponse(client.admin)
434426
self.status = status.AsyncStatusResourceWithStreamingResponse(client.status)
435427
self.collections = collections.AsyncCollectionsResourceWithStreamingResponse(client.collections)
436428
self.documents = documents.AsyncDocumentsResourceWithStreamingResponse(client.documents)

src/zeroentropy/resources/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from .admin import (
4-
AdminResource,
5-
AsyncAdminResource,
6-
AdminResourceWithRawResponse,
7-
AsyncAdminResourceWithRawResponse,
8-
AdminResourceWithStreamingResponse,
9-
AsyncAdminResourceWithStreamingResponse,
10-
)
113
from .status import (
124
StatusResource,
135
AsyncStatusResource,
@@ -50,12 +42,6 @@
5042
)
5143

5244
__all__ = [
53-
"AdminResource",
54-
"AsyncAdminResource",
55-
"AdminResourceWithRawResponse",
56-
"AsyncAdminResourceWithRawResponse",
57-
"AdminResourceWithStreamingResponse",
58-
"AsyncAdminResourceWithStreamingResponse",
5945
"StatusResource",
6046
"AsyncStatusResource",
6147
"StatusResourceWithRawResponse",

src/zeroentropy/resources/admin.py

Lines changed: 0 additions & 181 deletions
This file was deleted.

0 commit comments

Comments
 (0)