MCPcopy
hub / github.com/celery/celery / fmt

Function fmt

celery/bin/list.py:33–34  ·  view source on GitHub ↗
(q, e, r)

Source from the content-addressed store, hash-verified

31 raise click.UsageError('Your transport cannot list bindings.')
32
33 def fmt(q, e, r):
34 ctx.obj.echo(f'{q:<28} {e:<28} {r}')
35 fmt('Queue', 'Exchange', 'Routing Key')
36 fmt('-' * 16, '-' * 16, '-' * 16)
37 for b in bindings:

Callers 1

bindingsFunction · 0.85

Calls 1

echoMethod · 0.80

Tested by

no test coverage detected