code: def test_feedback_record_update(
      schema_kwargs: Dict[str, Any],
      suggestions: Union[
          SuggestionSchema,
          List[SuggestionSchema],
          Dict[str, Any],
          List[Dict[str, Any]],
      ],
      expected_warning: Optional[Warning],
      warning_match: Optional[str],
  ) -> None:
      record = FeedbackRecord(**schema_kwargs)
      with pytest.warns(expected_warning, match=warning_match):
          record.update(suggestions)
  
file_path: argilla/tests/unit/client/feedback/schemas/test_records.py
imports: from typing import Any, Dict, List, Optional, Union
  import pytest
  from argilla.client.feedback.schemas.records import FeedbackRecord, RankingValueSchema, ResponseSchema, SortBy, SuggestionSchema, ValueSchema
  from tests.pydantic_v1 import ValidationError
label_desc: Use image node_id 2 for calling a global function with example usage: test_feedback_record_update(schema_kwargs, suggestions, expected_warning, warning_match) without return types