code: def test_forbid_extra():
      class MockRecord(_Validators):
          mock: str
  
      with pytest.raises(ValidationError):
          MockRecord(mock="mock", extra_argument="mock")
  
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 13 for calling a global function with example usage: test_forbid_extra() without return types