module documentation

Helpers for working with long-running operations.

This module provides an Operation wrapper that normalizes different versions of the service operation protobuf and exposes convenient helpers for polling, synchronous waiting, and inspecting operation metadata.

The wrapper accepts operation protobufs from either the current v1 API or an older v1alpha1 variant and routes calls to the corresponding operation service client.

Class Operation A convenience wrapper around operation protobufs.
Type Variable OperationPb A convenience wrapper around operation protobufs. Either nebius.api.nebius.common.v1.Operation or nebius.api.nebius.common.v1alpha1.Operation, or their protobuf classes.
Type Variable T Undocumented
OperationPb = (source)

A convenience wrapper around operation protobufs. Either nebius.api.nebius.common.v1.Operation or nebius.api.nebius.common.v1alpha1.Operation, or their protobuf classes.

Value
TypeVar('OperationPb')

Undocumented

Value
TypeVar('T')