code: def _create_gateway_deployment(
      graph_description,
      deployments_addresses,
      deployments_metadata,
      port,
  ):
      return Deployment(
          set_gateway_parser().parse_args(
              [
                  "--graph-description",
                  graph_description,
                  "--deployments-addresses",
                  deployments_addresses,
                  "--deployments-metadata",
                  deployments_metadata,
                  "--port",
                  str(port),
              ]
          ),
          include_gateway=False,
      )
  
imports: import asyncio
  import json
  import time
  import pytest
  from docarray import Document, DocumentArray
  from pytest import FixtureRequest
  from jina import Client, Document, Executor, requests
  from jina.enums import PollingType
  from jina.helper import random_port
  from jina.orchestrate.deployments import Deployment
  from jina.parsers import set_deployment_parser, set_gateway_parser
label_desc: Use image node_id 3 for calling a global function with example usage: _create_gateway_deployment(graph_description, deployments_addresses, deployments_metadata, port) and returns: Deployment