2121)
2222from ._utils import is_given , get_async_library
2323from ._version import __version__
24- from .resources import admin , status , parsers , queries , documents , collections
24+ from .resources import status , parsers , queries , documents , collections
2525from ._streaming import Stream as Stream , AsyncStream as AsyncStream
2626from ._exceptions import APIStatusError , ZeroEntropyError
2727from ._base_client import (
4343
4444
4545class 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
223221class 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
401397class 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
411406class 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
421415class 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
431424class 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 )
0 commit comments