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

Function test_deprecated_dict

tests/test_deprecations.py:27–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26
27def test_deprecated_dict():
28 with pytest.warns(DeprecationWarning):
29 data = Item(name="Hello").dict()
30 assert data == {"name": "Hello"}

Callers

nothing calls this directly

Calls 2

dictMethod · 0.80
ItemClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…