3131)
3232
3333if TYPE_CHECKING :
34- from .resources import web , brand
34+ from .resources import ai , web , brand , style , utility , industry
35+ from .resources .ai import AIResource , AsyncAIResource
3536 from .resources .web import WebResource , AsyncWebResource
3637 from .resources .brand import BrandResource , AsyncBrandResource
38+ from .resources .style import StyleResource , AsyncStyleResource
39+ from .resources .utility import UtilityResource , AsyncUtilityResource
40+ from .resources .industry import IndustryResource , AsyncIndustryResource
3741
3842__all__ = [
3943 "Timeout" ,
@@ -108,12 +112,36 @@ def web(self) -> WebResource:
108112
109113 return WebResource (self )
110114
115+ @cached_property
116+ def ai (self ) -> AIResource :
117+ from .resources .ai import AIResource
118+
119+ return AIResource (self )
120+
121+ @cached_property
122+ def style (self ) -> StyleResource :
123+ from .resources .style import StyleResource
124+
125+ return StyleResource (self )
126+
111127 @cached_property
112128 def brand (self ) -> BrandResource :
113129 from .resources .brand import BrandResource
114130
115131 return BrandResource (self )
116132
133+ @cached_property
134+ def industry (self ) -> IndustryResource :
135+ from .resources .industry import IndustryResource
136+
137+ return IndustryResource (self )
138+
139+ @cached_property
140+ def utility (self ) -> UtilityResource :
141+ from .resources .utility import UtilityResource
142+
143+ return UtilityResource (self )
144+
117145 @cached_property
118146 def with_raw_response (self ) -> ContextDevWithRawResponse :
119147 return ContextDevWithRawResponse (self )
@@ -288,12 +316,36 @@ def web(self) -> AsyncWebResource:
288316
289317 return AsyncWebResource (self )
290318
319+ @cached_property
320+ def ai (self ) -> AsyncAIResource :
321+ from .resources .ai import AsyncAIResource
322+
323+ return AsyncAIResource (self )
324+
325+ @cached_property
326+ def style (self ) -> AsyncStyleResource :
327+ from .resources .style import AsyncStyleResource
328+
329+ return AsyncStyleResource (self )
330+
291331 @cached_property
292332 def brand (self ) -> AsyncBrandResource :
293333 from .resources .brand import AsyncBrandResource
294334
295335 return AsyncBrandResource (self )
296336
337+ @cached_property
338+ def industry (self ) -> AsyncIndustryResource :
339+ from .resources .industry import AsyncIndustryResource
340+
341+ return AsyncIndustryResource (self )
342+
343+ @cached_property
344+ def utility (self ) -> AsyncUtilityResource :
345+ from .resources .utility import AsyncUtilityResource
346+
347+ return AsyncUtilityResource (self )
348+
297349 @cached_property
298350 def with_raw_response (self ) -> AsyncContextDevWithRawResponse :
299351 return AsyncContextDevWithRawResponse (self )
@@ -419,12 +471,36 @@ def web(self) -> web.WebResourceWithRawResponse:
419471
420472 return WebResourceWithRawResponse (self ._client .web )
421473
474+ @cached_property
475+ def ai (self ) -> ai .AIResourceWithRawResponse :
476+ from .resources .ai import AIResourceWithRawResponse
477+
478+ return AIResourceWithRawResponse (self ._client .ai )
479+
480+ @cached_property
481+ def style (self ) -> style .StyleResourceWithRawResponse :
482+ from .resources .style import StyleResourceWithRawResponse
483+
484+ return StyleResourceWithRawResponse (self ._client .style )
485+
422486 @cached_property
423487 def brand (self ) -> brand .BrandResourceWithRawResponse :
424488 from .resources .brand import BrandResourceWithRawResponse
425489
426490 return BrandResourceWithRawResponse (self ._client .brand )
427491
492+ @cached_property
493+ def industry (self ) -> industry .IndustryResourceWithRawResponse :
494+ from .resources .industry import IndustryResourceWithRawResponse
495+
496+ return IndustryResourceWithRawResponse (self ._client .industry )
497+
498+ @cached_property
499+ def utility (self ) -> utility .UtilityResourceWithRawResponse :
500+ from .resources .utility import UtilityResourceWithRawResponse
501+
502+ return UtilityResourceWithRawResponse (self ._client .utility )
503+
428504
429505class AsyncContextDevWithRawResponse :
430506 _client : AsyncContextDev
@@ -438,12 +514,36 @@ def web(self) -> web.AsyncWebResourceWithRawResponse:
438514
439515 return AsyncWebResourceWithRawResponse (self ._client .web )
440516
517+ @cached_property
518+ def ai (self ) -> ai .AsyncAIResourceWithRawResponse :
519+ from .resources .ai import AsyncAIResourceWithRawResponse
520+
521+ return AsyncAIResourceWithRawResponse (self ._client .ai )
522+
523+ @cached_property
524+ def style (self ) -> style .AsyncStyleResourceWithRawResponse :
525+ from .resources .style import AsyncStyleResourceWithRawResponse
526+
527+ return AsyncStyleResourceWithRawResponse (self ._client .style )
528+
441529 @cached_property
442530 def brand (self ) -> brand .AsyncBrandResourceWithRawResponse :
443531 from .resources .brand import AsyncBrandResourceWithRawResponse
444532
445533 return AsyncBrandResourceWithRawResponse (self ._client .brand )
446534
535+ @cached_property
536+ def industry (self ) -> industry .AsyncIndustryResourceWithRawResponse :
537+ from .resources .industry import AsyncIndustryResourceWithRawResponse
538+
539+ return AsyncIndustryResourceWithRawResponse (self ._client .industry )
540+
541+ @cached_property
542+ def utility (self ) -> utility .AsyncUtilityResourceWithRawResponse :
543+ from .resources .utility import AsyncUtilityResourceWithRawResponse
544+
545+ return AsyncUtilityResourceWithRawResponse (self ._client .utility )
546+
447547
448548class ContextDevWithStreamedResponse :
449549 _client : ContextDev
@@ -457,12 +557,36 @@ def web(self) -> web.WebResourceWithStreamingResponse:
457557
458558 return WebResourceWithStreamingResponse (self ._client .web )
459559
560+ @cached_property
561+ def ai (self ) -> ai .AIResourceWithStreamingResponse :
562+ from .resources .ai import AIResourceWithStreamingResponse
563+
564+ return AIResourceWithStreamingResponse (self ._client .ai )
565+
566+ @cached_property
567+ def style (self ) -> style .StyleResourceWithStreamingResponse :
568+ from .resources .style import StyleResourceWithStreamingResponse
569+
570+ return StyleResourceWithStreamingResponse (self ._client .style )
571+
460572 @cached_property
461573 def brand (self ) -> brand .BrandResourceWithStreamingResponse :
462574 from .resources .brand import BrandResourceWithStreamingResponse
463575
464576 return BrandResourceWithStreamingResponse (self ._client .brand )
465577
578+ @cached_property
579+ def industry (self ) -> industry .IndustryResourceWithStreamingResponse :
580+ from .resources .industry import IndustryResourceWithStreamingResponse
581+
582+ return IndustryResourceWithStreamingResponse (self ._client .industry )
583+
584+ @cached_property
585+ def utility (self ) -> utility .UtilityResourceWithStreamingResponse :
586+ from .resources .utility import UtilityResourceWithStreamingResponse
587+
588+ return UtilityResourceWithStreamingResponse (self ._client .utility )
589+
466590
467591class AsyncContextDevWithStreamedResponse :
468592 _client : AsyncContextDev
@@ -476,12 +600,36 @@ def web(self) -> web.AsyncWebResourceWithStreamingResponse:
476600
477601 return AsyncWebResourceWithStreamingResponse (self ._client .web )
478602
603+ @cached_property
604+ def ai (self ) -> ai .AsyncAIResourceWithStreamingResponse :
605+ from .resources .ai import AsyncAIResourceWithStreamingResponse
606+
607+ return AsyncAIResourceWithStreamingResponse (self ._client .ai )
608+
609+ @cached_property
610+ def style (self ) -> style .AsyncStyleResourceWithStreamingResponse :
611+ from .resources .style import AsyncStyleResourceWithStreamingResponse
612+
613+ return AsyncStyleResourceWithStreamingResponse (self ._client .style )
614+
479615 @cached_property
480616 def brand (self ) -> brand .AsyncBrandResourceWithStreamingResponse :
481617 from .resources .brand import AsyncBrandResourceWithStreamingResponse
482618
483619 return AsyncBrandResourceWithStreamingResponse (self ._client .brand )
484620
621+ @cached_property
622+ def industry (self ) -> industry .AsyncIndustryResourceWithStreamingResponse :
623+ from .resources .industry import AsyncIndustryResourceWithStreamingResponse
624+
625+ return AsyncIndustryResourceWithStreamingResponse (self ._client .industry )
626+
627+ @cached_property
628+ def utility (self ) -> utility .AsyncUtilityResourceWithStreamingResponse :
629+ from .resources .utility import AsyncUtilityResourceWithStreamingResponse
630+
631+ return AsyncUtilityResourceWithStreamingResponse (self ._client .utility )
632+
485633
486634Client = ContextDev
487635
0 commit comments