Avatar for the koxudaxi user
koxudaxi
datamodel-code-generator
BlogDocsChangelog

Add pydantic_v2.dataclass output type and remove pydantic v1 dataclass

#2746Merged
Comparing
feature/pydantic-v2-dataclass
(
d6d580c
) with
main
(
bb29295
)
CodSpeed Performance Gauge
0%
Untouched
73
Skipped
10

Benchmarks

10 total
test_main_nested_directory
tests/main/jsonschema/test_main_jsonschema.py
Skipped
247.9 ms*
test_main_strict_types_all_with_field_constraints
tests/main/jsonschema/test_main_jsonschema.py
Skipped
81 ms*
test_main_jsonschema_complex_any_of
tests/main/jsonschema/test_main_jsonschema.py
Skipped
68 ms*
test_main_allof_root_model_constraints
tests/main/jsonschema/test_main_jsonschema.py
Skipped
287.1 ms*
test_main_use_frozen_field_dataclass
tests/main/jsonschema/test_main_jsonschema.py
Skipped
35.8 ms*
test_main_use_frozen_field_pydantic_v1
tests/main/jsonschema/test_main_jsonschema.py
Skipped
48.5 ms*
test_main_use_frozen_field_pydantic_v2
tests/main/jsonschema/test_main_jsonschema.py
Skipped
54 ms*
test_main_jsonschema_reserved_field_name_typed_dict
tests/main/jsonschema/test_main_jsonschema.py
Skipped
29 ms*
test_main_jsonschema_reserved_field_name_dataclass
tests/main/jsonschema/test_main_jsonschema.py
Skipped
29.8 ms*
test_main_jsonschema_reserved_field_name_pydantic
tests/main/jsonschema/test_main_jsonschema.py
Skipped
45.6 ms*

Commits

Click on a commit to change the comparison range
Base
main
bb29295
0%
Add pydantic_v2.dataclass output type and remove pydantic v1 dataclass
e0e638c
4 months ago
by koxudaxi
-0.02%
Remove line comments and add e2e tests for nested models and constraints
e02b990
4 months ago
by koxudaxi
-0.01%
Add e2e tests for Field constraints, defaults, and enum types
d6d580c
4 months ago
by koxudaxi
© 2026 CodSpeed Technology
Home Terms Privacy Docs