Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ _strflags
Function
_strflags
celery/app/task.py:59–62 ·
view source on GitHub ↗
(flags, default='')
Source
from the content-addressed store, hash-verified
57
58
59
def
_strflags(flags, default=
''
):
60
if
flags:
61
return
' ({})'
.format(
', '
.join(flags))
62
return
default
63
64
65
def
_reprtask(task, fmt=None, flags=None):
Callers
1
_reprtask
Function · 0.85
Calls
2
format
Method · 0.45
join
Method · 0.45
Tested by
no test coverage detected