koxudaxi
datamodel-code-generator
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
fix(parser): ignore discriminator in collapsed list fields
#2378
Merged
Comparing
rcarriga:fix/list-discriminator
(
1b2c24d
) with
main
(
117a31d
)
CodSpeed Performance Gauge
-1%
Improvements
0
Regressions
0
Untouched
31
New
0
Dropped
0
Ignored
0
Benchmarks
Passed
test_use_default
tests/main/openapi/test_main_openapi.py::test_use_default
CodSpeed Performance Gauge
0%
111.8 ms
111.8 ms
test_main_openapi_nullable
tests/main/openapi/test_main_openapi.py::test_main_openapi_nullable
CodSpeed Performance Gauge
0%
123.5 ms
124 ms
test_main_modular
tests/main/openapi/test_main_openapi.py::test_main_modular
CodSpeed Performance Gauge
0%
239.9 ms
240.9 ms
test_main_nested_directory
tests/main/jsonschema/test_main_jsonschema.py::test_main_nested_directory
CodSpeed Performance Gauge
0%
189.7 ms
190.6 ms
test_main_inheritance_forward_ref
tests/main/jsonschema/test_main_jsonschema.py::test_main_inheritance_forward_ref
CodSpeed Performance Gauge
-1%
103.7 ms
104.2 ms
test_main_jsonschema_multiple_files
tests/main/jsonschema/test_main_jsonschema.py::test_main_jsonschema_multiple_files
CodSpeed Performance Gauge
-1%
78 ms
78.5 ms
test_main_with_strip_default_none
tests/main/openapi/test_main_openapi.py::test_main_with_strip_default_none
CodSpeed Performance Gauge
-1%
108.6 ms
109.2 ms
test_main_inheritance_forward_ref_keep_model_order
tests/main/jsonschema/test_main_jsonschema.py::test_main_inheritance_forward_ref_keep_model_order
CodSpeed Performance Gauge
-1%
102.1 ms
102.7 ms
test_main_strict_types_all_with_field_constraints
tests/main/jsonschema/test_main_jsonschema.py::test_main_strict_types_all_with_field_constraints
CodSpeed Performance Gauge
-1%
69.5 ms
69.9 ms
test_main_with_snake_case_field
tests/main/openapi/test_main_openapi.py::test_main_with_snake_case_field
CodSpeed Performance Gauge
-1%
112.7 ms
113.4 ms
test_main
tests/main/openapi/test_main_openapi.py::test_main
CodSpeed Performance Gauge
-1%
110.9 ms
111.6 ms
test_main_jsonschema_nested_deep
tests/main/jsonschema/test_main_jsonschema.py::test_main_jsonschema_nested_deep
CodSpeed Performance Gauge
-1%
70.6 ms
71 ms
test_main_strict_types
tests/main/jsonschema/test_main_jsonschema.py::test_main_strict_types
CodSpeed Performance Gauge
-1%
72.6 ms
73.1 ms
test_main_root_id_jsonschema_self_refs_with_remote_file
tests/main/jsonschema/test_main_jsonschema.py::test_main_root_id_jsonschema_self_refs_with_remote_file
CodSpeed Performance Gauge
-1%
80 ms
80.6 ms
test_main_openapi_nullable_31
tests/main/openapi/test_main_openapi.py::test_main_openapi_nullable_31
CodSpeed Performance Gauge
-1%
50.2 ms
50.6 ms
test_main_root_id_jsonschema_self_refs_with_local_file
tests/main/jsonschema/test_main_jsonschema.py::test_main_root_id_jsonschema_self_refs_with_local_file
CodSpeed Performance Gauge
-1%
79.7 ms
80.2 ms
test_main_collapse_root_models
tests/main/openapi/test_main_openapi.py::test_main_collapse_root_models
CodSpeed Performance Gauge
-1%
76.7 ms
77.3 ms
test_main_jsonschema_collapsed_external_references
tests/main/jsonschema/test_main_jsonschema.py::test_main_jsonschema_collapsed_external_references
CodSpeed Performance Gauge
-1%
76.3 ms
76.9 ms
test_main_json_reuse_enum_default_member
tests/main/jsonschema/test_main_jsonschema.py::test_main_json_reuse_enum_default_member
CodSpeed Performance Gauge
-1%
73.8 ms
74.3 ms
test_main_jsonschema_complex_any_of
tests/main/jsonschema/test_main_jsonschema.py::test_main_jsonschema_complex_any_of
CodSpeed Performance Gauge
-1%
63.3 ms
63.7 ms
test_main_jsonschema_special_field_name
tests/main/jsonschema/test_main_jsonschema.py::test_main_jsonschema_special_field_name
CodSpeed Performance Gauge
-1%
62.2 ms
62.7 ms
test_main_autodetect
tests/main/jsonschema/test_main_jsonschema.py::test_main_autodetect
CodSpeed Performance Gauge
-1%
62 ms
62.5 ms
test_main_jsonschema_id
tests/main/jsonschema/test_main_jsonschema.py::test_main_jsonschema_id
CodSpeed Performance Gauge
-1%
54.1 ms
54.5 ms
test_main_jsonschema_no_empty_collapsed_external_model
tests/main/jsonschema/test_main_jsonschema.py::test_main_jsonschema_no_empty_collapsed_external_model
CodSpeed Performance Gauge
-1%
49.7 ms
50.1 ms
test_main_openapi_all_of_required
tests/main/openapi/test_main_openapi.py::test_main_openapi_all_of_required
CodSpeed Performance Gauge
-1%
52.8 ms
53.3 ms
test_main_jsonschema_external_files
tests/main/jsonschema/test_main_jsonschema.py::test_main_jsonschema_external_files
CodSpeed Performance Gauge
-1%
51.4 ms
51.9 ms
test_main_yaml
tests/main/test_main_yaml.py::test_main_yaml
CodSpeed Performance Gauge
-1%
48.9 ms
49.4 ms
test_main_jsonschema_field_include_all_keys
tests/main/jsonschema/test_main_jsonschema.py::test_main_jsonschema_field_include_all_keys
CodSpeed Performance Gauge
-1%
59.4 ms
59.9 ms
test_main_external_definitions
tests/main/jsonschema/test_main_jsonschema.py::test_main_external_definitions
CodSpeed Performance Gauge
-1%
51.4 ms
51.9 ms
test_main_all_of_ref
tests/main/jsonschema/test_main_jsonschema.py::test_main_all_of_ref
CodSpeed Performance Gauge
-1%
52.7 ms
53.2 ms
test_force_optional
tests/main/openapi/test_main_openapi.py::test_force_optional
CodSpeed Performance Gauge
-1%
118.1 ms
119.2 ms
Commits
Click on a commit to change the comparison range
Base
main
117a31d
-1%
fix(parser): ignore discriminator in collapsed list fields Pydantic will raise an error if a discriminator is provided to a list field.
1b2c24d
4 days ago
by rcarriga
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs