3131)
3232
3333if TYPE_CHECKING :
34- from .resources import brand
34+ from .resources import web , brand
35+ from .resources .web import WebResource , AsyncWebResource
3536 from .resources .brand import BrandResource , AsyncBrandResource
3637
3738__all__ = [
@@ -101,6 +102,12 @@ def __init__(
101102 _strict_response_validation = _strict_response_validation ,
102103 )
103104
105+ @cached_property
106+ def web (self ) -> WebResource :
107+ from .resources .web import WebResource
108+
109+ return WebResource (self )
110+
104111 @cached_property
105112 def brand (self ) -> BrandResource :
106113 from .resources .brand import BrandResource
@@ -275,6 +282,12 @@ def __init__(
275282 _strict_response_validation = _strict_response_validation ,
276283 )
277284
285+ @cached_property
286+ def web (self ) -> AsyncWebResource :
287+ from .resources .web import AsyncWebResource
288+
289+ return AsyncWebResource (self )
290+
278291 @cached_property
279292 def brand (self ) -> AsyncBrandResource :
280293 from .resources .brand import AsyncBrandResource
@@ -400,6 +413,12 @@ class ContextDevWithRawResponse:
400413 def __init__ (self , client : ContextDev ) -> None :
401414 self ._client = client
402415
416+ @cached_property
417+ def web (self ) -> web .WebResourceWithRawResponse :
418+ from .resources .web import WebResourceWithRawResponse
419+
420+ return WebResourceWithRawResponse (self ._client .web )
421+
403422 @cached_property
404423 def brand (self ) -> brand .BrandResourceWithRawResponse :
405424 from .resources .brand import BrandResourceWithRawResponse
@@ -413,6 +432,12 @@ class AsyncContextDevWithRawResponse:
413432 def __init__ (self , client : AsyncContextDev ) -> None :
414433 self ._client = client
415434
435+ @cached_property
436+ def web (self ) -> web .AsyncWebResourceWithRawResponse :
437+ from .resources .web import AsyncWebResourceWithRawResponse
438+
439+ return AsyncWebResourceWithRawResponse (self ._client .web )
440+
416441 @cached_property
417442 def brand (self ) -> brand .AsyncBrandResourceWithRawResponse :
418443 from .resources .brand import AsyncBrandResourceWithRawResponse
@@ -426,6 +451,12 @@ class ContextDevWithStreamedResponse:
426451 def __init__ (self , client : ContextDev ) -> None :
427452 self ._client = client
428453
454+ @cached_property
455+ def web (self ) -> web .WebResourceWithStreamingResponse :
456+ from .resources .web import WebResourceWithStreamingResponse
457+
458+ return WebResourceWithStreamingResponse (self ._client .web )
459+
429460 @cached_property
430461 def brand (self ) -> brand .BrandResourceWithStreamingResponse :
431462 from .resources .brand import BrandResourceWithStreamingResponse
@@ -439,6 +470,12 @@ class AsyncContextDevWithStreamedResponse:
439470 def __init__ (self , client : AsyncContextDev ) -> None :
440471 self ._client = client
441472
473+ @cached_property
474+ def web (self ) -> web .AsyncWebResourceWithStreamingResponse :
475+ from .resources .web import AsyncWebResourceWithStreamingResponse
476+
477+ return AsyncWebResourceWithStreamingResponse (self ._client .web )
478+
442479 @cached_property
443480 def brand (self ) -> brand .AsyncBrandResourceWithStreamingResponse :
444481 from .resources .brand import AsyncBrandResourceWithStreamingResponse
0 commit comments