code: def test_monitor_zero_shot_passing_metadata(
      text,
      labels,
      hypothesis,
      mocked_client,
      mocked_monitor,
      dataset,
  ):
      delete_ignoring_errors(dataset)
      expected_metadata = {"type": "test"}
      mocked_monitor(
          text,
          candidate_labels=labels,
          hypothesis_template=hypothesis,
          metadata=expected_metadata,
      )
  
      sleep(1)  # wait for the consumer time
      ds = argilla.load(dataset)
      df = ds.to_pandas()
      assert len(df) == 1
  
      record = TextClassificationRecord.parse_obj(
          df.to_dict(orient="records")[0]
      )
      assert record.metadata == {
          **expected_metadata,
          "labels": labels,
          "hypothesis_template": hypothesis,
      }
  
imports: from time import sleep
  from typing import List, Union
  import argilla
  import pytest
  from argilla.client.models import TextClassificationRecord
  from tests.integration.utils import delete_ignoring_errors
label_desc: Use image node_id 17 for calling a global function with example usage: test_monitor_zero_shot_passing_metadata(text, labels, hypothesis, mocked_client, mocked_monitor, dataset) without return types