docstr: Check that either 'record_id' or 'value' is provided
docstr_tok: ["Check","that","either","'record_id","'","or","'value","'","is","provided"]
code: def check_required(cls, values: dict) -> dict:
      """Check that either 'record_id' or 'value' is provided"""
      record_id = values.get("record_id")
      value = values.get("value")
  
      if bool(record_id) == bool(value):
          raise ValueError(
              "Either 'record_id' or 'value' must be provided"
          )
  
      return values
  
imports: from datetime import datetime
  from enum import Enum
  from typing import Any, Dict, List, Literal, Optional, Union
  from uuid import UUID
  from argilla.pydantic_v1 import BaseModel, Field, StrictInt, StrictStr, conint, root_validator
label_desc: Use image node_id 1 for calling the FeedbackRecordsSearchVectorQuery obj's underlying member method code with example usage: obj.check_required(cls, values) and returns: values