Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
723
def
_serialize_Task_WeakSet_Mapping(mapping):
724
return
{name: [t.id
for
t in tasks]
for
name, tasks in mapping.items()}
725
726
727
def
_deserialize_Task_WeakSet_Mapping(mapping, tasks):
Callers
1
__reduce__
Method · 0.85
Calls
1
items
Method · 0.45
Tested by
no test coverage detected