code: def test_deprecated_parse_obj():
      with pytest.warns(DeprecationWarning):
          item = Item.parse_obj({"name": "Hello"})
      assert item.name == "Hello"
  
file_path: sqlmodel/tests/test_deprecations.py
imports: import pytest
  from sqlmodel import SQLModel
label_desc: Use image node_id 2 for calling a global function with example usage: test_deprecated_parse_obj() without return types