code: def graphql_query(mutation, use_nogql_flow=False):
      p = PORT_EXPOSE_NO_GRAPHQL if use_nogql_flow else PORT_EXPOSE
      c = Client(port=p, protocol="HTTP")
      return c.mutate(mutation=mutation)
  
imports: import asyncio
  import time
  import urllib.error
  from typing import Dict
  import numpy
  import pytest
  from docarray.array.document import DocumentArray
  from docarray.document import Document
  from jina import Client, Executor, Flow, requests
label_desc: Use image node_id 3 for calling a global function with example usage: graphql_query(mutation, use_nogql_flow) and returns: c