Find text in files Args: extra_headers: Send extra headers extra_query: Add additional query parameters to the request extra_body: Add additional JSON properties to the request timeout: Override the client-level default timeout for this re
(
self,
*,
pattern: str,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
)
| 240 | ) |
| 241 | |
| 242 | async def text( |
| 243 | self, |
| 244 | *, |
| 245 | pattern: str, |
| 246 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
| 247 | # The extra values given here take precedence over values defined on the client or passed to this method. |
| 248 | extra_headers: Headers | None = None, |
| 249 | extra_query: Query | None = None, |
| 250 | extra_body: Body | None = None, |
| 251 | timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, |
| 252 | ) -> FindTextResponse: |
| 253 | """ |
| 254 | Find text in files |
| 255 | |
| 256 | Args: |
| 257 | extra_headers: Send extra headers |
| 258 | |
| 259 | extra_query: Add additional query parameters to the request |
| 260 | |
| 261 | extra_body: Add additional JSON properties to the request |
| 262 | |
| 263 | timeout: Override the client-level default timeout for this request, in seconds |
| 264 | """ |
| 265 | return await self._get( |
| 266 | "/find", |
| 267 | options=make_request_options( |
| 268 | extra_headers=extra_headers, |
| 269 | extra_query=extra_query, |
| 270 | extra_body=extra_body, |
| 271 | timeout=timeout, |
| 272 | query=await async_maybe_transform({"pattern": pattern}, find_text_params.FindTextParams), |
| 273 | ), |
| 274 | cast_to=FindTextResponse, |
| 275 | ) |
| 276 | |
| 277 | |
| 278 | class FindResourceWithRawResponse: |
nothing calls this directly
no test coverage detected