List all modes
(
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,
)
| 138 | ) |
| 139 | |
| 140 | def modes( |
| 141 | self, |
| 142 | *, |
| 143 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
| 144 | # The extra values given here take precedence over values defined on the client or passed to this method. |
| 145 | extra_headers: Headers | None = None, |
| 146 | extra_query: Query | None = None, |
| 147 | extra_body: Body | None = None, |
| 148 | timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, |
| 149 | ) -> AppModesResponse: |
| 150 | """List all modes""" |
| 151 | return self._get( |
| 152 | "/mode", |
| 153 | options=make_request_options( |
| 154 | extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout |
| 155 | ), |
| 156 | cast_to=AppModesResponse, |
| 157 | ) |
| 158 | |
| 159 | def providers( |
| 160 | self, |