BlogDocs

Support `AliasGenerator` usage(#8282)

Merged
Merging
alias-generator
into
main
-14%
IMPROVEMENTS
0
REGRESSIONS
1
UNTOUCHED
9
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

test_fastapi_startup_perfRegression
tests/benchmarks/test_fastapi_startup_generics.py::test_fastapi_startup_perf
-14%
3.1 s
3.6 s
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py::test_fastapi_startup_perf
-2%
1.2 s
1.3 s
test_north_star_dump_json
tests/benchmarks/test_north_star.py::test_north_star_dump_json
0%
194.7 ms
194.7 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py::test_north_star_dump_python
-4%
76.9 ms
79.8 ms
test_north_star_json_dumps
tests/benchmarks/test_north_star.py::test_north_star_json_dumps
-2%
185.5 ms
189.2 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py::test_north_star_json_loads
0%
97.4 ms
97.3 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py::test_north_star_validate_json
0%
350.7 ms
350.8 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py::test_north_star_validate_json_strict
0%
353.8 ms
353.9 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py::test_north_star_validate_python
0%
179.9 ms
180 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py::test_north_star_validate_python_strict
-2%
108.2 ms
110.6 ms

Commits

Click on a commit to change the comparison range
base
main
f5b109f
-14%
first pass at AliasGenerator support
2c83869
5 months ago by sydney-runkle
0%
cleaning things up a bit
d97809d
5 months ago by sydney-runkle
0%
initial tests
e013c7e
5 months ago by sydney-runkle
0%
docs updates
bcbdba2
5 months ago by sydney-runkle
0%
computed field support
f4ae9c6
5 months ago by sydney-runkle
0%
reverting lockfile changes, see https://github.com/pydantic/pydantic/pull/8171/files#r1406857320
833b908
5 months ago by sydney-runkle
0%
reverting accidental update to lockfile
5c1994a
5 months ago by sydney-runkle
0%
testing for invalid alias generators
6280f5e
5 months ago by sydney-runkle
0%
a bit more formatting
416c09f
5 months ago by sydney-runkle
0%
get all of the ducks in a row in terms of alias orders
ba6fb18
5 months ago by sydney-runkle
0%
another test
62dde22
5 months ago by sydney-runkle
0%
Merge branch 'main' into alias-generator
17d9349
5 months ago by sydney-runkle
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.