Initialize the app
(
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,
)
| 68 | ) |
| 69 | |
| 70 | def init( |
| 71 | self, |
| 72 | *, |
| 73 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
| 74 | # The extra values given here take precedence over values defined on the client or passed to this method. |
| 75 | extra_headers: Headers | None = None, |
| 76 | extra_query: Query | None = None, |
| 77 | extra_body: Body | None = None, |
| 78 | timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, |
| 79 | ) -> AppInitResponse: |
| 80 | """Initialize the app""" |
| 81 | return self._post( |
| 82 | "/app/init", |
| 83 | options=make_request_options( |
| 84 | extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout |
| 85 | ), |
| 86 | cast_to=AppInitResponse, |
| 87 | ) |
| 88 | |
| 89 | def log( |
| 90 | self, |