code: def test_from_client_annotation(annotation, expected):
      record = TextClassificationRecord(
          inputs={"text": "test"},
          annotation=annotation,
          multi_label=True,
      )
      sdk_record = CreationTextClassificationRecord.from_client(record)
  
      assert len(sdk_record.annotation.labels) == expected
  
file_path: argilla/tests/unit/client/sdk/models/test_text_classification.py
imports: import socket
  from datetime import datetime
  import pytest
  from argilla.client.models import TextClassificationRecord, TokenAttributions
  from argilla.client.sdk.text_classification.models import ClassPrediction, CreationTextClassificationRecord, LabelingRule, LabelingRuleMetricsSummary, TextClassificationAnnotation, TextClassificationBulkData, TextClassificationQuery
  from argilla.client.sdk.text_classification.models import TextClassificationRecord
  from argilla.server.apis.v0.models.text_classification import LabelingRule
  from argilla.server.apis.v0.models.text_classification import LabelingRuleMetricsSummary
  from argilla.server.apis.v0.models.text_classification import TextClassificationBulkRequest
  from argilla.server.apis.v0.models.text_classification import TextClassificationQuery
label_desc: Use image node_id 6 for calling a global function with example usage: test_from_client_annotation(annotation, expected) without return types