Skip to main content

Module extensions

Module extensions 

Source

Constants§

EXTENSIONS_FIELD
Task field the inbound extensions ride on. Contract with worker.py, which reads it and passes the reconstructed object as extensions= to execute_plugin; both sides must agree verbatim.
MODIFIED_EXTENSIONS_FIELD
Response field the returned extensions ride on.

Functions§

attach_extensions
Serialize the filtered extensions and attach them to task.
owned_from_returned_slot
Rebuild an OwnedExtensions from an already-extracted modified_extensions value.
parse_returned_extensions
Rebuild an OwnedExtensions from the worker’s response, or None.