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

Method __bool__

celery/utils/timer2.py:153–155  ·  view source on GitHub ↗

``bool(timer)``.

(self)

Source from the content-addressed store, hash-verified

151 return len(self.schedule)
152
153 def __bool__(self) -> bool:
154 """``bool(timer)``."""
155 return True
156 __nonzero__ = __bool__
157
158 @property

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected