class documentation

class ServiceError__RetryType(Enum): (source)

View In Hierarchy

Undocumented

Constant __PROTO_DESCRIPTOR__ Protobuf enum descriptor from the registry.
Constant __PROTO_FULL_NAME__ Fully qualified protobuf enum name.
Constant CALL Just retry the failed call.
Constant NOTHING Do not retry, this is a fatal error.
Constant UNIT_OF_WORK Retry whole logic before call and make a new one.
Constant UNSPECIFIED Undocumented

Inherited from Enum:

Class Method get_descriptor Return the protobuf EnumDescriptor for this enum.
Constant __PB2_DESCRIPTOR__ Alias for code that expects a protobuf descriptor.
Constant __REGISTRY__ Registry for the enum and its descriptor.
Class Method _missing_ Represent unknown open-enum numbers without losing their value.
__PROTO_DESCRIPTOR__ = (source)

Protobuf enum descriptor from the registry.

Value
REGISTRY.enum_descriptor('nebius.common.error.v1alpha1.ServiceError.RetryType')
__PROTO_FULL_NAME__: str = (source)

Fully qualified protobuf enum name.

Value
'nebius.common.error.v1alpha1.ServiceError.RetryType'

Just retry the failed call.

Value
1

Do not retry, this is a fatal error.

Value
3
UNIT_OF_WORK: int = (source)

Retry whole logic before call and make a new one.

Value
2
UNSPECIFIED: int = (source)

Undocumented

Value
0