MCPcopy
hub / github.com/pydantic/pydantic / t

Function t

pydantic-core/tests/benchmarks/test_micro_benchmarks.py:129–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127
128 @benchmark
129 def t():
130 for case in bool_cases:
131 schema_validator.validate_python(case)
132
133
134small_class_data = {'name': 'John', 'age': 42}

Callers 1

encode_defaultFunction · 0.50

Calls 3

validate_pythonMethod · 0.45
validate_jsonMethod · 0.45
errorsMethod · 0.45

Tested by

no test coverage detected