perago.logical_task_key#

perago.logical_task_key(task)[源代码]#

Build the stable publish-fence identity for a Conductor task attempt.

Parameters:
taskobject

Attempt-like object exposing workflow_instance_id, reference_task_name, seq, iteration, and task_def_name.

Returns:
str

Colon-delimited logical task key shared by retries of the same logical workflow step.

Raises:
AttributeError

Raised when task is missing any required workflow identity field.

参数:

task (object)

返回类型:

str