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

Function _deserialize_Task_WeakSet_Mapping

celery/events/state.py:727–730  ·  view source on GitHub ↗
(mapping, tasks)

Source from the content-addressed store, hash-verified

725
726
727def _deserialize_Task_WeakSet_Mapping(mapping, tasks):
728 mapping = mapping or {}
729 return {name: WeakSet(tasks[i] for i in ids if i in tasks)
730 for name, ids in mapping.items()}

Callers 1

__init__Method · 0.85

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected