3131)
3232
3333if TYPE_CHECKING :
34- from .resources import cas_parser , cas_generator
34+ from .resources import cas_parser
3535 from .resources .cas_parser import CasParserResource , AsyncCasParserResource
36- from .resources .cas_generator import CasGeneratorResource , AsyncCasGeneratorResource
3736
3837__all__ = [
3938 "Timeout" ,
@@ -108,12 +107,6 @@ def cas_parser(self) -> CasParserResource:
108107
109108 return CasParserResource (self )
110109
111- @cached_property
112- def cas_generator (self ) -> CasGeneratorResource :
113- from .resources .cas_generator import CasGeneratorResource
114-
115- return CasGeneratorResource (self )
116-
117110 @cached_property
118111 def with_raw_response (self ) -> CasParserWithRawResponse :
119112 return CasParserWithRawResponse (self )
@@ -288,12 +281,6 @@ def cas_parser(self) -> AsyncCasParserResource:
288281
289282 return AsyncCasParserResource (self )
290283
291- @cached_property
292- def cas_generator (self ) -> AsyncCasGeneratorResource :
293- from .resources .cas_generator import AsyncCasGeneratorResource
294-
295- return AsyncCasGeneratorResource (self )
296-
297284 @cached_property
298285 def with_raw_response (self ) -> AsyncCasParserWithRawResponse :
299286 return AsyncCasParserWithRawResponse (self )
@@ -419,12 +406,6 @@ def cas_parser(self) -> cas_parser.CasParserResourceWithRawResponse:
419406
420407 return CasParserResourceWithRawResponse (self ._client .cas_parser )
421408
422- @cached_property
423- def cas_generator (self ) -> cas_generator .CasGeneratorResourceWithRawResponse :
424- from .resources .cas_generator import CasGeneratorResourceWithRawResponse
425-
426- return CasGeneratorResourceWithRawResponse (self ._client .cas_generator )
427-
428409
429410class AsyncCasParserWithRawResponse :
430411 _client : AsyncCasParser
@@ -438,12 +419,6 @@ def cas_parser(self) -> cas_parser.AsyncCasParserResourceWithRawResponse:
438419
439420 return AsyncCasParserResourceWithRawResponse (self ._client .cas_parser )
440421
441- @cached_property
442- def cas_generator (self ) -> cas_generator .AsyncCasGeneratorResourceWithRawResponse :
443- from .resources .cas_generator import AsyncCasGeneratorResourceWithRawResponse
444-
445- return AsyncCasGeneratorResourceWithRawResponse (self ._client .cas_generator )
446-
447422
448423class CasParserWithStreamedResponse :
449424 _client : CasParser
@@ -457,12 +432,6 @@ def cas_parser(self) -> cas_parser.CasParserResourceWithStreamingResponse:
457432
458433 return CasParserResourceWithStreamingResponse (self ._client .cas_parser )
459434
460- @cached_property
461- def cas_generator (self ) -> cas_generator .CasGeneratorResourceWithStreamingResponse :
462- from .resources .cas_generator import CasGeneratorResourceWithStreamingResponse
463-
464- return CasGeneratorResourceWithStreamingResponse (self ._client .cas_generator )
465-
466435
467436class AsyncCasParserWithStreamedResponse :
468437 _client : AsyncCasParser
@@ -476,12 +445,6 @@ def cas_parser(self) -> cas_parser.AsyncCasParserResourceWithStreamingResponse:
476445
477446 return AsyncCasParserResourceWithStreamingResponse (self ._client .cas_parser )
478447
479- @cached_property
480- def cas_generator (self ) -> cas_generator .AsyncCasGeneratorResourceWithStreamingResponse :
481- from .resources .cas_generator import AsyncCasGeneratorResourceWithStreamingResponse
482-
483- return AsyncCasGeneratorResourceWithStreamingResponse (self ._client .cas_generator )
484-
485448
486449Client = CasParser
487450
0 commit comments