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

Method __len__

celery/utils/threads.py:286–288  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

284 __class_getitem__ = classmethod(types.GenericAlias)
285
286 def __len__(self):
287 stack = getattr(self._local, 'stack', None)
288 return len(stack) if stack else 0
289
290 @property
291 def stack(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected