2626from ._version import __version__
2727from .resources import status , parsers , queries , documents , collections
2828from ._streaming import Stream as Stream , AsyncStream as AsyncStream
29- from ._exceptions import APIStatusError , ZeroentropyError
29+ from ._exceptions import APIStatusError , ZeroEntropyError
3030from ._base_client import (
3131 DEFAULT_MAX_RETRIES ,
3232 SyncAPIClient ,
3838 "Transport" ,
3939 "ProxiesTypes" ,
4040 "RequestOptions" ,
41- "Zeroentropy " ,
42- "AsyncZeroentropy " ,
41+ "ZeroEntropy " ,
42+ "AsyncZeroEntropy " ,
4343 "Client" ,
4444 "AsyncClient" ,
4545]
4646
4747
48- class Zeroentropy (SyncAPIClient ):
48+ class ZeroEntropy (SyncAPIClient ):
4949 status : status .StatusResource
5050 collections : collections .CollectionsResource
5151 documents : documents .DocumentsResource
5252 queries : queries .QueriesResource
5353 parsers : parsers .ParsersResource
54- with_raw_response : ZeroentropyWithRawResponse
55- with_streaming_response : ZeroentropyWithStreamedResponse
54+ with_raw_response : ZeroEntropyWithRawResponse
55+ with_streaming_response : ZeroEntropyWithStreamedResponse
5656
5757 # client options
5858 api_key : str
@@ -87,7 +87,7 @@ def __init__(
8787 if api_key is None :
8888 api_key = os .environ .get ("ZEROENTROPY_API_KEY" )
8989 if api_key is None :
90- raise ZeroentropyError (
90+ raise ZeroEntropyError (
9191 "The api_key client option must be set either by passing api_key to the client or by setting the ZEROENTROPY_API_KEY environment variable"
9292 )
9393 self .api_key = api_key
@@ -113,8 +113,8 @@ def __init__(
113113 self .documents = documents .DocumentsResource (self )
114114 self .queries = queries .QueriesResource (self )
115115 self .parsers = parsers .ParsersResource (self )
116- self .with_raw_response = ZeroentropyWithRawResponse (self )
117- self .with_streaming_response = ZeroentropyWithStreamedResponse (self )
116+ self .with_raw_response = ZeroEntropyWithRawResponse (self )
117+ self .with_streaming_response = ZeroEntropyWithStreamedResponse (self )
118118
119119 @property
120120 @override
@@ -221,14 +221,14 @@ def _make_status_error(
221221 return APIStatusError (err_msg , response = response , body = body )
222222
223223
224- class AsyncZeroentropy (AsyncAPIClient ):
224+ class AsyncZeroEntropy (AsyncAPIClient ):
225225 status : status .AsyncStatusResource
226226 collections : collections .AsyncCollectionsResource
227227 documents : documents .AsyncDocumentsResource
228228 queries : queries .AsyncQueriesResource
229229 parsers : parsers .AsyncParsersResource
230- with_raw_response : AsyncZeroentropyWithRawResponse
231- with_streaming_response : AsyncZeroentropyWithStreamedResponse
230+ with_raw_response : AsyncZeroEntropyWithRawResponse
231+ with_streaming_response : AsyncZeroEntropyWithStreamedResponse
232232
233233 # client options
234234 api_key : str
@@ -263,7 +263,7 @@ def __init__(
263263 if api_key is None :
264264 api_key = os .environ .get ("ZEROENTROPY_API_KEY" )
265265 if api_key is None :
266- raise ZeroentropyError (
266+ raise ZeroEntropyError (
267267 "The api_key client option must be set either by passing api_key to the client or by setting the ZEROENTROPY_API_KEY environment variable"
268268 )
269269 self .api_key = api_key
@@ -289,8 +289,8 @@ def __init__(
289289 self .documents = documents .AsyncDocumentsResource (self )
290290 self .queries = queries .AsyncQueriesResource (self )
291291 self .parsers = parsers .AsyncParsersResource (self )
292- self .with_raw_response = AsyncZeroentropyWithRawResponse (self )
293- self .with_streaming_response = AsyncZeroentropyWithStreamedResponse (self )
292+ self .with_raw_response = AsyncZeroEntropyWithRawResponse (self )
293+ self .with_streaming_response = AsyncZeroEntropyWithStreamedResponse (self )
294294
295295 @property
296296 @override
@@ -397,42 +397,42 @@ def _make_status_error(
397397 return APIStatusError (err_msg , response = response , body = body )
398398
399399
400- class ZeroentropyWithRawResponse :
401- def __init__ (self , client : Zeroentropy ) -> None :
400+ class ZeroEntropyWithRawResponse :
401+ def __init__ (self , client : ZeroEntropy ) -> None :
402402 self .status = status .StatusResourceWithRawResponse (client .status )
403403 self .collections = collections .CollectionsResourceWithRawResponse (client .collections )
404404 self .documents = documents .DocumentsResourceWithRawResponse (client .documents )
405405 self .queries = queries .QueriesResourceWithRawResponse (client .queries )
406406 self .parsers = parsers .ParsersResourceWithRawResponse (client .parsers )
407407
408408
409- class AsyncZeroentropyWithRawResponse :
410- def __init__ (self , client : AsyncZeroentropy ) -> None :
409+ class AsyncZeroEntropyWithRawResponse :
410+ def __init__ (self , client : AsyncZeroEntropy ) -> None :
411411 self .status = status .AsyncStatusResourceWithRawResponse (client .status )
412412 self .collections = collections .AsyncCollectionsResourceWithRawResponse (client .collections )
413413 self .documents = documents .AsyncDocumentsResourceWithRawResponse (client .documents )
414414 self .queries = queries .AsyncQueriesResourceWithRawResponse (client .queries )
415415 self .parsers = parsers .AsyncParsersResourceWithRawResponse (client .parsers )
416416
417417
418- class ZeroentropyWithStreamedResponse :
419- def __init__ (self , client : Zeroentropy ) -> None :
418+ class ZeroEntropyWithStreamedResponse :
419+ def __init__ (self , client : ZeroEntropy ) -> None :
420420 self .status = status .StatusResourceWithStreamingResponse (client .status )
421421 self .collections = collections .CollectionsResourceWithStreamingResponse (client .collections )
422422 self .documents = documents .DocumentsResourceWithStreamingResponse (client .documents )
423423 self .queries = queries .QueriesResourceWithStreamingResponse (client .queries )
424424 self .parsers = parsers .ParsersResourceWithStreamingResponse (client .parsers )
425425
426426
427- class AsyncZeroentropyWithStreamedResponse :
428- def __init__ (self , client : AsyncZeroentropy ) -> None :
427+ class AsyncZeroEntropyWithStreamedResponse :
428+ def __init__ (self , client : AsyncZeroEntropy ) -> None :
429429 self .status = status .AsyncStatusResourceWithStreamingResponse (client .status )
430430 self .collections = collections .AsyncCollectionsResourceWithStreamingResponse (client .collections )
431431 self .documents = documents .AsyncDocumentsResourceWithStreamingResponse (client .documents )
432432 self .queries = queries .AsyncQueriesResourceWithStreamingResponse (client .queries )
433433 self .parsers = parsers .AsyncParsersResourceWithStreamingResponse (client .parsers )
434434
435435
436- Client = Zeroentropy
436+ Client = ZeroEntropy
437437
438- AsyncClient = AsyncZeroentropy
438+ AsyncClient = AsyncZeroEntropy
0 commit comments