List all providers
(
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,
)
| 157 | ) |
| 158 | |
| 159 | def providers( |
| 160 | self, |
| 161 | *, |
| 162 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
| 163 | # The extra values given here take precedence over values defined on the client or passed to this method. |
| 164 | extra_headers: Headers | None = None, |
| 165 | extra_query: Query | None = None, |
| 166 | extra_body: Body | None = None, |
| 167 | timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, |
| 168 | ) -> AppProvidersResponse: |
| 169 | """List all providers""" |
| 170 | return self._get( |
| 171 | "/config/providers", |
| 172 | options=make_request_options( |
| 173 | extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout |
| 174 | ), |
| 175 | cast_to=AppProvidersResponse, |
| 176 | ) |
| 177 | |
| 178 | |
| 179 | class AsyncAppResource(AsyncAPIResource): |