code: def test_cast_record_id():
      record_id = 1000
  
      with pytest.warns(
          DeprecationWarning,
          match=r"Integer ids won't be supported in future versions. We recommend to start using strings instead. ",
      ):
          record = TextClassificationRecord(
              text="This is a text", id=record_id
          )
          assert record.id == record_id
  
imports: import datetime
  import json
  import uuid
  from typing import Any, Optional
  import numpy
  import pandas
  import pytest
  from argilla.client.models import Text2TextRecord, TextClassificationRecord, TokenClassificationRecord, _Validators
  from pydantic import ValidationError
label_desc: Use image node_id 19 for calling a global function with example usage: test_cast_record_id() without return types