code: def _warning_on_one_line(
      message, category, filename, lineno, *args, **kwargs
  ):
      return (
          "\033[1;33m%s: %s\033[0m \033[1;30m(raised from %s:%s)\033[0m\n"
          % (
              category.__name__,
              message,
              filename,
              lineno,
          )
      )
  
file_path: jina/jina/__init__.py
imports: import os
  import platform
  import signal
  import sys
  import warnings
  import docarray
  from jina._docarray import Document, DocumentArray
  from jina.clients import Client
  from jina.orchestrate.deployments import Deployment
  from jina.orchestrate.flow.asyncio import AsyncFlow
  from jina.orchestrate.flow.base import Flow
  from jina.serve.executors import BaseExecutor
  from jina.serve.executors.decorators import dynamic_batching, monitor, requests
  from jina.serve.runtimes.gateway.gateway import Gateway
label_desc: Use image node_id 1 for calling a global function with example usage: _warning_on_one_line(message, category, filename, lineno) and returns: unknown