MCPcopy
hub / github.com/celery/celery / say_chat

Method say_chat

celery/bin/base.py:114–120  ·  view source on GitHub ↗
(self, direction, title, body='', show_body=False)

Source from the content-addressed store, hash-verified

112 text.indent(self.pretty(n['error'])[1], 4))
113
114 def say_chat(self, direction, title, body='', show_body=False):
115 if direction == '<-' and self.quiet:
116 return
117 dirstr = not self.quiet and f'{self.style(direction, fg="white", bold=True)} ' or ''
118 self.echo(f'{dirstr} {title}')
119 if body and show_body:
120 self.echo(body)
121
122
123def handle_remote_command_error(command: str, exc: Exception) -> None:

Callers 1

Calls 2

styleMethod · 0.95
echoMethod · 0.95

Tested by

no test coverage detected