Skip to content

UpdatedCustomDescriptor

Structure Class

UpdatedCustomDescriptor dataclass

Bases: _SerdeShape

Wrapper for updating a custom descriptor with PATCH semantics. When present, the custom descriptor is replaced with the provided value. When absent, the custom descriptor is left unchanged. To unset, include the wrapper with the value set to null.

Attributes

optional_value class-attribute instance-attribute
optional_value: CustomDescriptor | None = ...

The updated custom descriptor value.