MCPcopy 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
59def _strflags(flags, default=''):
60 if flags:
61 return ' ({})'.format(', '.join(flags))
62 return default
63
64
65def _reprtask(task, fmt=None, flags=None):

Callers 1

_reprtaskFunction · 0.85

Calls 2

formatMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected