code: def gateway(args: "Namespace"):
      """
      Start a Gateway Deployment
  
      :param args: arguments coming from the CLI.
      """
      from jina.serve.runtimes.gateway.request_handling import (
          GatewayRequestHandler,
      )
      from jina.serve.runtimes.asyncio import AsyncNewLoopRuntime
  
      args.port_monitoring = args.port_monitoring[0]
      _update_gateway_args(args)
  
      with AsyncNewLoopRuntime(
          args, req_handler_cls=GatewayRequestHandler
      ) as runtime:
          runtime.logger.info(f"Gateway started")
          runtime.run_forever()
  
file_path: jina/jina_cli/api.py
imports: from typing import TYPE_CHECKING
  from jina.parsers.helper import _update_gateway_args
label_desc: Use image node_id 5 for calling a global function with example usage: gateway(args) without return types