MCPcopy
hub / github.com/celery/celery / __repr__

Method __repr__

celery/canvas.py:1300–1305  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1298 return app or current_app
1299
1300 def __repr__(self):
1301 if not self.tasks:
1302 return f'<{type(self).__name__}@{id(self):#x}: empty>'
1303 return remove_repeating_from_task(
1304 self.tasks[0]['task'],
1305 ' | '.join(repr(t) for t in self.tasks))
1306
1307
1308class chain(_chain):

Callers

nothing calls this directly

Calls 2

joinMethod · 0.45

Tested by

no test coverage detected