MCPcopy Create free account
hub / github.com/celery/celery / _serialize_Task_WeakSet_Mapping

Function _serialize_Task_WeakSet_Mapping

celery/events/state.py:723–724  ·  view source on GitHub ↗
(mapping)

Source from the content-addressed store, hash-verified

721
722
723def _serialize_Task_WeakSet_Mapping(mapping):
724 return {name: [t.id for t in tasks] for name, tasks in mapping.items()}
725
726
727def _deserialize_Task_WeakSet_Mapping(mapping, tasks):

Callers 1

__reduce__Method · 0.85

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected