MCPcopy
hub / github.com/celery/celery / clear

Method clear

celery/app/task.py:128–129  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

126 return self.__dict__.update(*args, **kwargs)
127
128 def clear(self):
129 return self.__dict__.clear()
130
131 def get(self, key, default=None):
132 return getattr(self, key, default)

Callers 8

test_cleared_contextMethod · 0.95
reset_stateFunction · 0.45
asynloopFunction · 0.45
on_closeMethod · 0.45
_after_forkMethod · 0.45
_after_forkMethod · 0.45
traceback_clearFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_cleared_contextMethod · 0.76