MCPcopy Index your code
hub / github.com/fastapi/sqlmodel / test_deprecated_parse_obj

Function test_deprecated_parse_obj

tests/test_deprecations.py:21–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20
21def test_deprecated_parse_obj():
22 with pytest.warns(DeprecationWarning):
23 item = Item.parse_obj({"name": "Hello"})
24 assert item.name == "Hello"
25
26
27def test_deprecated_dict():

Callers

nothing calls this directly

Calls 1

parse_objMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…