code: def test_text_field(
      schema_kwargs: Dict[str, Any], server_payload: Dict[str, Any]
  ) -> None:
      text_field = TextField(**schema_kwargs)
      assert text_field.type == FieldTypes.text
      assert text_field.server_settings == server_payload["settings"]
      assert text_field.to_server_payload() == server_payload
  
imports: from typing import Any, Dict
  import pytest
  from argilla.client.feedback.schemas.enums import FieldTypes
  from argilla.client.feedback.schemas.fields import TextField
  from tests.pydantic_v1 import ValidationError
label_desc: Use image node_id 1 for calling a global function with example usage: test_text_field(schema_kwargs, server_payload) without return types