class_docstr: Base class for our record models that takes care of general validations
class_docstr_tok: ["Base","class","for","our","record","models","that","takes","care","of","general","validations"]
docstr: Triggers a warning when ONLY annotation agent is provided
docstr_tok: ["Triggers","a","warning","when","ONLY","annotation","agent","is","provided"]
code: def _check_annotation_agent(cls, v, values):
      """Triggers a warning when ONLY annotation agent is provided"""
      if v and values["annotation"] is None:
          warnings.warn(
              "You provided an `annotation_agent`, but no `annotation`. "
              "The `annotation_agent` will not be logged to the server."
          )
      return v
  
imports: import datetime
  import logging
  import uuid
  import warnings
  from enum import Enum
  from typing import Any, Dict, List, Optional, Tuple, Union
  import pandas
  from deprecated import deprecated
  from argilla import _messages
  from argilla._constants import DEFAULT_MAX_KEYWORD_LENGTH
  from argilla.pydantic_v1 import BaseModel, Field, PrivateAttr, root_validator, validator
  from argilla.utils.span_utils import SpanUtils
label_desc: Use image node_id 5 for calling the _Validators obj's underlying member method code with example usage: obj._check_annotation_agent(cls, v, values) and returns: v