Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ __len__
Method
__len__
celery/utils/timer2.py:150–151 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
148
return
not len(self)
149
150
def
__len__(self) -> int:
151
return
len(self.schedule)
152
153
def
__bool__(self) -> bool:
154
""
"``bool(timer)``."
""
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected