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

Fix hostname format with field_constraints to use Field(pattern=...)

#2724Merged
Comparing
fix-hostname-field-constraints
(
d031f64
) with
main
(
3aeaed6
)
CodSpeed Performance Gauge
0%
Untouched
70
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
3aeaed6
-0.01%
Fix hostname format with field_constraints to use Field(pattern=...)
1aec6d5
5 months ago
by koxudaxi
-0.01%
Add comment explaining Pydantic v1 regex anchor requirement
9c8a834
5 months ago
by koxudaxi
-0.03%
Add e2e tests for hostname field_constraints coverage
d031f64
5 months ago
by koxudaxi
© 2026 CodSpeed Technology
Home Terms Privacy Docs