nemo_microservices.resources.v2.inference.deployments.status#

Module Contents#

Classes#

API#

class nemo_microservices.resources.v2.inference.deployments.status.AsyncStatusResource(
client: nemo_microservices._client.AsyncNeMoMicroservices,
)#

Bases: nemo_microservices._resource.AsyncAPIResource

Initialization

async update(
deployment_name: str,
*,
namespace: str,
extra_headers: nemo_microservices._types.Headers | None = None,
extra_query: nemo_microservices._types.Query | None = None,
extra_body: nemo_microservices._types.Body | None = None,
timeout: float | httpx.Timeout | None | nemo_microservices._types.NotGiven = not_given,
) object#

Update ModelDeployment status and status_message endpoint - returns a simple hello world response for now.

Args: extra_headers: Send extra headers

extra_query: Add additional query parameters to the request

extra_body: Add additional JSON properties to the request

timeout: Override the client-level default timeout for this request, in seconds

property with_raw_response: nemo_microservices.resources.v2.inference.deployments.status.AsyncStatusResourceWithRawResponse#

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://docs.nvidia.com/nemo/microservices/latest/pysdk/index.html#accessing-raw-response-data-e-g-headers

property with_streaming_response: nemo_microservices.resources.v2.inference.deployments.status.AsyncStatusResourceWithStreamingResponse#

An alternative to .with_raw_response that doesn’t eagerly read the response body.

For more information, see https://docs.nvidia.com/nemo/microservices/latest/pysdk/index.html#with_streaming_response

class nemo_microservices.resources.v2.inference.deployments.status.AsyncStatusResourceWithRawResponse(
status: nemo_microservices.resources.v2.inference.deployments.status.AsyncStatusResource,
)#

Initialization

class nemo_microservices.resources.v2.inference.deployments.status.AsyncStatusResourceWithStreamingResponse(
status: nemo_microservices.resources.v2.inference.deployments.status.AsyncStatusResource,
)#

Initialization

class nemo_microservices.resources.v2.inference.deployments.status.StatusResource(client: nemo_microservices._client.NeMoMicroservices)#

Bases: nemo_microservices._resource.SyncAPIResource

Initialization

update(
deployment_name: str,
*,
namespace: str,
extra_headers: nemo_microservices._types.Headers | None = None,
extra_query: nemo_microservices._types.Query | None = None,
extra_body: nemo_microservices._types.Body | None = None,
timeout: float | httpx.Timeout | None | nemo_microservices._types.NotGiven = not_given,
) object#

Update ModelDeployment status and status_message endpoint - returns a simple hello world response for now.

Args: extra_headers: Send extra headers

extra_query: Add additional query parameters to the request

extra_body: Add additional JSON properties to the request

timeout: Override the client-level default timeout for this request, in seconds

property with_raw_response: nemo_microservices.resources.v2.inference.deployments.status.StatusResourceWithRawResponse#

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://docs.nvidia.com/nemo/microservices/latest/pysdk/index.html#accessing-raw-response-data-e-g-headers

property with_streaming_response: nemo_microservices.resources.v2.inference.deployments.status.StatusResourceWithStreamingResponse#

An alternative to .with_raw_response that doesn’t eagerly read the response body.

For more information, see https://docs.nvidia.com/nemo/microservices/latest/pysdk/index.html#with_streaming_response

class nemo_microservices.resources.v2.inference.deployments.status.StatusResourceWithRawResponse(
status: nemo_microservices.resources.v2.inference.deployments.status.StatusResource,
)#

Initialization

class nemo_microservices.resources.v2.inference.deployments.status.StatusResourceWithStreamingResponse(
status: nemo_microservices.resources.v2.inference.deployments.status.StatusResource,
)#

Initialization