BlogDocs

Add `oneOf`+`const` JSON Schema Option for Literals(#9029)

Merging
rmehyde:rmehyde/enum-docstrings
into
main
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
10
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py::test_fastapi_startup_perf
0%
3.6 s
3.6 s
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py::test_fastapi_startup_perf
0%
1.3 s
1.3 s
test_north_star_dump_json
tests/benchmarks/test_north_star.py::test_north_star_dump_json
0%
194.4 ms
194.4 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py::test_north_star_dump_python
0%
78 ms
77.9 ms
test_north_star_json_dumps
tests/benchmarks/test_north_star.py::test_north_star_json_dumps
0%
180.3 ms
180.1 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py::test_north_star_json_loads
0%
97.4 ms
97.4 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py::test_north_star_validate_json
0%
296.6 ms
296.6 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py::test_north_star_validate_json_strict
+3%
300.8 ms
293 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py::test_north_star_validate_python
0%
169.1 ms
169.2 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py::test_north_star_validate_python_strict
+2%
111.6 ms
109.3 ms

Commits

Click on a commit to change the comparison range
base
main
f794f65
0%
add tests for 'json_schema_literal_type' option'
22f0e3d
2 months ago by rmehyde
0%
cleanup docs
f9242a3
2 months ago by rmehyde
0%
fix logic and add additional test for 3.9 and 3.10
3bf1614
2 months ago by rmehyde
0%
skip listenum test for 3.8
e02fb06
2 months ago by rmehyde
0%
move literal type option from model config to model_json_schema() parameter
f3f0a24
2 months ago by rmehyde
+1%
Revert "whitespace - retrigger cicd" This reverts commit 7251376b14fa01f5dd8d1a1cc3d0cdc836c55f73.
7bdf02f
2 months ago by rmehyde
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.