code: def test_training_task_repr(label_question_payload):
      field = TextField(name="text")
      label = LabelQuestion(**label_question_payload)
      task_mapping = TrainingTask.for_text_classification(
          text=field, label=label
      )
      assert isinstance(repr(task_mapping), str)
  
file_path: argilla/tests/unit/client/feedback/training/test_schemas.py
imports: import pandas
  import pytest
  import spacy
  from argilla import LabelQuestion, MultiLabelQuestion, RankingQuestion, RatingQuestion, TextField
  from argilla.client.feedback.training.schemas.base import TrainingTask
  from argilla.client.feedback.unification import LabelQuestionUnification, MultiLabelQuestionUnification, RankingQuestionUnification, RatingQuestionUnification
  from argilla.client.models import Framework
  from datasets import Dataset, DatasetDict
  from spacy.tokens import DocBin
label_desc: Use image node_id 2 for calling a global function with example usage: test_training_task_repr(label_question_payload) without return types