MCPcopy Create free account
hub / github.com/python-arq/arq / WorkerSettings

Class WorkerSettings

docs/examples/custom_serialization_msgpack.py:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21
22class WorkerSettings:
23 functions = [the_task]
24 job_serializer = msgpack.packb
25 # refer to MsgPack's documentation as to why raw=False is required
26 job_deserializer = lambda b: msgpack.unpackb(b, raw=False)
27
28
29if __name__ == '__main__':

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…