aymara_ai.resources.health#
Classes#
Module Contents#
- class aymara_ai.resources.health.HealthResource(client)[source]#
Bases:
aymara_ai._resource.SyncAPIResource
- Parameters:
client (aymara_ai._client.AymaraAI)
- property with_raw_response: HealthResourceWithRawResponse#
This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content.
For more information, see https://www.github.com/aymara-ai/aymara-sdk-python#accessing-raw-response-data-eg-headers
- Return type:
HealthResourceWithRawResponse
- property with_streaming_response: HealthResourceWithStreamingResponse#
An alternative to .with_raw_response that doesn’t eagerly read the response body.
For more information, see https://www.github.com/aymara-ai/aymara-sdk-python#with_streaming_response
- Return type:
HealthResourceWithStreamingResponse
- check(*, extra_headers=None, extra_query=None, extra_body=None, timeout=NOT_GIVEN)[source]#
Health Check
- Parameters:
extra_headers (aymara_ai._types.Headers | None)
extra_query (aymara_ai._types.Query | None)
extra_body (aymara_ai._types.Body | None)
timeout (float | httpx.Timeout | None | aymara_ai._types.NotGiven)
- Return type:
None
- class aymara_ai.resources.health.AsyncHealthResource(client)[source]#
Bases:
aymara_ai._resource.AsyncAPIResource
- Parameters:
client (aymara_ai._client.AsyncAymaraAI)
- property with_raw_response: AsyncHealthResourceWithRawResponse#
This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content.
For more information, see https://www.github.com/aymara-ai/aymara-sdk-python#accessing-raw-response-data-eg-headers
- Return type:
AsyncHealthResourceWithRawResponse
- property with_streaming_response: AsyncHealthResourceWithStreamingResponse#
An alternative to .with_raw_response that doesn’t eagerly read the response body.
For more information, see https://www.github.com/aymara-ai/aymara-sdk-python#with_streaming_response
- Return type:
AsyncHealthResourceWithStreamingResponse
- async check(*, extra_headers=None, extra_query=None, extra_body=None, timeout=NOT_GIVEN)[source]#
Health Check
- Parameters:
extra_headers (aymara_ai._types.Headers | None)
extra_query (aymara_ai._types.Query | None)
extra_body (aymara_ai._types.Body | None)
timeout (float | httpx.Timeout | None | aymara_ai._types.NotGiven)
- Return type:
None