code: def test_id_text_in_matches(req_type):
      response = graphql_query(
          (
              f"{req_type} {{"
              """docs(data: {text: "abcd"}) { 
                  id 
                  text
                  matches {
                      id
                      text
                  }
              } 
          }
      """
          )
      )
      assert sorted(set(response["data"]["docs"][0].keys())) == sorted(
          {"id", "text", "matches"}
      )
      for match in response["data"]["docs"][0]["matches"]:
          assert sorted(set(match.keys())) == sorted({"id", "text"})
  
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 9 for calling a global function with example usage: test_id_text_in_matches(req_type) without return types