BlogDocs

Fix Outputted Model JSON Schema for Sequence type(#9303)

Merged
Merging
anesmemisevic:fix/model-json-schema-from-sequence
into
main
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
13
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

test_efficiency_with_highly_nested_examples
tests/benchmarks/test_discriminated_unions.py::test_efficiency_with_highly_nested_examples
0%
4.1 ms
4.1 ms
test_schema_build
tests/benchmarks/test_discriminated_unions.py::test_schema_build
0%
20.9 ms
21 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py::test_fastapi_startup_perf
0%
1.7 s
1.7 s
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py::test_fastapi_startup_perf
0%
195 ms
195 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py::test_north_star_dump_json
0%
182.1 ms
182.2 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py::test_north_star_dump_python
0%
86.8 ms
86.8 ms
test_north_star_json_dumps
tests/benchmarks/test_north_star.py::test_north_star_json_dumps
+2%
124 ms
122 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py::test_north_star_json_loads
0%
117.4 ms
117.4 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py::test_north_star_validate_json
0%
258.3 ms
258.3 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py::test_north_star_validate_json_strict
0%
257.3 ms
257.5 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py::test_north_star_validate_python
0%
204.5 ms
204.5 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py::test_north_star_validate_python_strict
0%
135.4 ms
135.4 ms
test_construct_schema
tests/benchmarks/test_schema_build.py::test_construct_schema
0%
24.1 ms
24 ms

Commits

Click on a commit to change the comparison range
base
main
2612947
0%
add tests for model json schema from sequence with min/max length
3524749
a month ago by anesmemisevic
0%
utilize metadata info for easier handling sequence fields
d167064
a month ago by anesmemisevic
0%
Merge branch 'pydantic:main' into fix/model-json-schema-from-sequence
eb615cb
a month ago by anesmemisevic
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.