Skip to main content

TaskDirective

Sphinx task directive.

Methods


get_signature_prefix()

@classmethod
def get_signature_prefix(
sig: string
) - > list

Returns the prefix text for the task signature based on the Celery configuration.

Parameters

NameTypeDescription
sigstringThe signature string of the task being processed.

Returns

TypeDescription
listA list containing a docutils text node with the configured celery_task_prefix string.