@@ -77,25 +77,6 @@ def db(
7777 cast_to = HealthCheckResponse ,
7878 )
7979
80- def weaviate (
81- self ,
82- * ,
83- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
84- # The extra values given here take precedence over values defined on the client or passed to this method.
85- extra_headers : Headers | None = None ,
86- extra_query : Query | None = None ,
87- extra_body : Body | None = None ,
88- timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
89- ) -> HealthCheckResponse :
90- """Check the weaviate connection."""
91- return self ._get (
92- "/api/health/weaviate" ,
93- options = make_request_options (
94- extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
95- ),
96- cast_to = HealthCheckResponse ,
97- )
98-
9980
10081class AsyncHealthResource (AsyncAPIResource ):
10182 @cached_property
@@ -155,25 +136,6 @@ async def db(
155136 cast_to = HealthCheckResponse ,
156137 )
157138
158- async def weaviate (
159- self ,
160- * ,
161- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
162- # The extra values given here take precedence over values defined on the client or passed to this method.
163- extra_headers : Headers | None = None ,
164- extra_query : Query | None = None ,
165- extra_body : Body | None = None ,
166- timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
167- ) -> HealthCheckResponse :
168- """Check the weaviate connection."""
169- return await self ._get (
170- "/api/health/weaviate" ,
171- options = make_request_options (
172- extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
173- ),
174- cast_to = HealthCheckResponse ,
175- )
176-
177139
178140class HealthResourceWithRawResponse :
179141 def __init__ (self , health : HealthResource ) -> None :
@@ -185,9 +147,6 @@ def __init__(self, health: HealthResource) -> None:
185147 self .db = to_raw_response_wrapper (
186148 health .db ,
187149 )
188- self .weaviate = to_raw_response_wrapper (
189- health .weaviate ,
190- )
191150
192151
193152class AsyncHealthResourceWithRawResponse :
@@ -200,9 +159,6 @@ def __init__(self, health: AsyncHealthResource) -> None:
200159 self .db = async_to_raw_response_wrapper (
201160 health .db ,
202161 )
203- self .weaviate = async_to_raw_response_wrapper (
204- health .weaviate ,
205- )
206162
207163
208164class HealthResourceWithStreamingResponse :
@@ -215,9 +171,6 @@ def __init__(self, health: HealthResource) -> None:
215171 self .db = to_streamed_response_wrapper (
216172 health .db ,
217173 )
218- self .weaviate = to_streamed_response_wrapper (
219- health .weaviate ,
220- )
221174
222175
223176class AsyncHealthResourceWithStreamingResponse :
@@ -230,6 +183,3 @@ def __init__(self, health: AsyncHealthResource) -> None:
230183 self .db = async_to_streamed_response_wrapper (
231184 health .db ,
232185 )
233- self .weaviate = async_to_streamed_response_wrapper (
234- health .weaviate ,
235- )
0 commit comments