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

Fix Pydantic v2 deprecation warnings

#2747Merged
Comparing
fix/pydantic-v2-deprecation-warnings
(
9bb3eaa
) with
main
(
3cd93a7
)
CodSpeed Performance Gauge
+2%
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
3cd93a7
+1.66%
Add TargetPydanticVersion to __all__ exports
9bb3eaa
4 months ago
by koxudaxi
© 2026 CodSpeed Technology
Home Terms Privacy Docs