Skip to main content

rebuild_signature

Reconstructs a Celery signature object from a dictionary and recursively validates that all nested components within the signature structure are valid signature objects.

def rebuild_signature(
sig_dict: dict
) - > null

Reconstructs a Celery signature object from a dictionary and recursively validates that all nested components are valid Signature instances.

Parameters

NameTypeDescription
sig_dictdictA dictionary representation of a Celery signature, chain, group, or chord to be deserialized and validated.

Returns

TypeDescription
nullNothing is returned; the function performs validation and raises an exception if the structure is invalid.