code: def test_classifier_monitoring_with_all_scores(
      mocked_client,
      classifier_monitor_all_scores,
      classifier_dataset,
  ):
      delete_ignoring_errors(classifier_dataset)
  
      expected_text = "This is a text, yeah"
      classifier_monitor_all_scores(expected_text)
  
      sleep(1)  # wait for the consumer time
      ds = argilla.load(classifier_dataset)
      df = ds.to_pandas()
      assert len(df) == 1
      record = TextClassificationRecord.parse_obj(
          df.to_dict(orient="records")[0]
      )
      assert record.inputs == {"text": expected_text}
      assert len(record.prediction) > 1
  
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 1 for calling a global function with example usage: test_classifier_monitoring_with_all_scores(mocked_client, classifier_monitor_all_scores, classifier_dataset) without return types