Get config info
(
self,
*,
# 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,
)
| 40 | return ConfigResourceWithStreamingResponse(self) |
| 41 | |
| 42 | def get( |
| 43 | self, |
| 44 | *, |
| 45 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
| 46 | # The extra values given here take precedence over values defined on the client or passed to this method. |
| 47 | extra_headers: Headers | None = None, |
| 48 | extra_query: Query | None = None, |
| 49 | extra_body: Body | None = None, |
| 50 | timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, |
| 51 | ) -> Config: |
| 52 | """Get config info""" |
| 53 | return self._get( |
| 54 | "/config", |
| 55 | options=make_request_options( |
| 56 | extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout |
| 57 | ), |
| 58 | cast_to=Config, |
| 59 | ) |
| 60 | |
| 61 | |
| 62 | class AsyncConfigResource(AsyncAPIResource): |
nothing calls this directly
no test coverage detected