66
77import httpx
88
9- from ..types import fix_create_ai_fallback_params
10- from .._types import Body , Omit , Query , Headers , NotGiven , omit , not_given
11- from .._utils import maybe_transform , async_maybe_transform
12- from .._compat import cached_property
13- from .._resource import SyncAPIResource , AsyncAPIResource
14- from .._response import (
9+ from ...types import fix_create_ai_fallback_params
10+ from ..._types import Body , Omit , Query , Headers , NotGiven , omit , not_given
11+ from ..._utils import maybe_transform , async_maybe_transform
12+ from .standard import (
13+ StandardResource ,
14+ AsyncStandardResource ,
15+ StandardResourceWithRawResponse ,
16+ AsyncStandardResourceWithRawResponse ,
17+ StandardResourceWithStreamingResponse ,
18+ AsyncStandardResourceWithStreamingResponse ,
19+ )
20+ from ..._compat import cached_property
21+ from ..._resource import SyncAPIResource , AsyncAPIResource
22+ from ..._response import (
1523 to_raw_response_wrapper ,
1624 to_streamed_response_wrapper ,
1725 async_to_raw_response_wrapper ,
1826 async_to_streamed_response_wrapper ,
1927)
20- from .._base_client import make_request_options
21- from ..types .fix_create_ai_fallback_response import FixCreateAIFallbackResponse
28+ from ... _base_client import make_request_options
29+ from ... types .fix_create_ai_fallback_response import FixCreateAIFallbackResponse
2230
2331__all__ = ["FixResource" , "AsyncFixResource" ]
2432
2533
2634class FixResource (SyncAPIResource ):
35+ @cached_property
36+ def standard (self ) -> StandardResource :
37+ return StandardResource (self ._client )
38+
2739 @cached_property
2840 def with_raw_response (self ) -> FixResourceWithRawResponse :
2941 """
@@ -111,6 +123,10 @@ def create_ai_fallback(
111123
112124
113125class AsyncFixResource (AsyncAPIResource ):
126+ @cached_property
127+ def standard (self ) -> AsyncStandardResource :
128+ return AsyncStandardResource (self ._client )
129+
114130 @cached_property
115131 def with_raw_response (self ) -> AsyncFixResourceWithRawResponse :
116132 """
@@ -205,6 +221,10 @@ def __init__(self, fix: FixResource) -> None:
205221 fix .create_ai_fallback ,
206222 )
207223
224+ @cached_property
225+ def standard (self ) -> StandardResourceWithRawResponse :
226+ return StandardResourceWithRawResponse (self ._fix .standard )
227+
208228
209229class AsyncFixResourceWithRawResponse :
210230 def __init__ (self , fix : AsyncFixResource ) -> None :
@@ -214,6 +234,10 @@ def __init__(self, fix: AsyncFixResource) -> None:
214234 fix .create_ai_fallback ,
215235 )
216236
237+ @cached_property
238+ def standard (self ) -> AsyncStandardResourceWithRawResponse :
239+ return AsyncStandardResourceWithRawResponse (self ._fix .standard )
240+
217241
218242class FixResourceWithStreamingResponse :
219243 def __init__ (self , fix : FixResource ) -> None :
@@ -223,6 +247,10 @@ def __init__(self, fix: FixResource) -> None:
223247 fix .create_ai_fallback ,
224248 )
225249
250+ @cached_property
251+ def standard (self ) -> StandardResourceWithStreamingResponse :
252+ return StandardResourceWithStreamingResponse (self ._fix .standard )
253+
226254
227255class AsyncFixResourceWithStreamingResponse :
228256 def __init__ (self , fix : AsyncFixResource ) -> None :
@@ -231,3 +259,7 @@ def __init__(self, fix: AsyncFixResource) -> None:
231259 self .create_ai_fallback = async_to_streamed_response_wrapper (
232260 fix .create_ai_fallback ,
233261 )
262+
263+ @cached_property
264+ def standard (self ) -> AsyncStandardResourceWithStreamingResponse :
265+ return AsyncStandardResourceWithStreamingResponse (self ._fix .standard )
0 commit comments