new_uuid Module

Functions

new_uuid

Create a new UUID that is safe for replay within an orchestration or operation.

The default implementation of this method creates a name-based UUID using the algorithm from RFC 4122 ยง4.3. The name input used to generate this value is a combination of the orchestration instance ID and an internally managed sequence number.

new_uuid(context: DurableOrchestrationContext) -> str

Parameters

context
DurableOrchestrationContext
Required

Provides reference to the instance id, current_utc_datetime and a new_uuid_counter attribute that is combined together to form that name that is used for the V5 UUID.

Returns

New UUID that is safe for replay within an orchestration or operation.

Return type

str