Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pydantic/pydantic
/ test_parse_mapping_as
Function
test_parse_mapping_as
tests/test_tools.py:74–76 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
72
73
74
def
test_parse_mapping_as():
75
inputs = {
'1'
:
'2'
}
76
assert parse_obj_as(dict[int, int], inputs) == {1: 2}
77
78
79
def
test_schema():
Callers
nothing calls this directly
Calls
1
parse_obj_as
Function · 0.90
Tested by
no test coverage detected