jina.clients.helper

jina.clients.helper.pprint_routes(resp, stack_limit=3)[source]

Pretty print routes with prettytable, fallback to print()

Parameters
  • resp (Response) – the Response object

  • stack_limit (int) – traceback limit

Returns

jina.clients.helper.callback_exec(response, on_done, on_error, on_always, continue_on_error, logger)[source]