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

Method prepare

celery/contrib/testing/worker.py:64–67  ·  view source on GitHub ↗
(self, record)

Source from the content-addressed store, hash-verified

62
63 class QueueHandler(logging.handlers.QueueHandler):
64 def prepare(self, record):
65 record.from_queue = True
66 # Keep origin record.
67 return record
68
69 def handleError(self, record):
70 if logging.raiseExceptions:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected