BlogDocs

Fix alias for superclass with identical name(#1981)

Merged
Merging
kmichel-aiven:kmichel-fix-reference-to-superclass
(
6446dfa
) into
main
(
decc493
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
29
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

test_main_all_of_ref
tests/test_main.py::test_main_all_of_ref
0%
50.6 ms
50.5 ms
test_main_jsonschema_id
tests/test_main.py::test_main_jsonschema_id
0%
59.4 ms
59.3 ms
test_main_inheritance_forward_ref_keep_model_order
tests/test_main.py::test_main_inheritance_forward_ref_keep_model_order
0%
134.1 ms
134 ms
test_main_openapi_nullable
tests/test_main.py::test_main_openapi_nullable
0%
168.4 ms
168.3 ms
test_main_inheritance_forward_ref
tests/test_main.py::test_main_inheritance_forward_ref
0%
134.9 ms
134.9 ms
test_main_external_definitions
tests/test_main.py::test_main_external_definitions
0%
56.5 ms
56.4 ms
test_main_strict_types_all_with_field_constraints
tests/test_main.py::test_main_strict_types_all_with_field_constraints
0%
88 ms
87.9 ms
test_main_jsonschema_special_field_name
tests/test_main.py::test_main_jsonschema_special_field_name
0%
72 ms
72 ms
test_main_with_strip_default_none
tests/test_main.py::test_main_with_strip_default_none
0%
141 ms
141 ms
test_main_yaml
tests/test_main.py::test_main_yaml
0%
50.8 ms
50.8 ms
test_main_root_id_jsonschema_self_refs_with_remote_file
tests/test_main.py::test_main_root_id_jsonschema_self_refs_with_remote_file
0%
98 ms
98 ms
test_main_json_reuse_enum_default_member
tests/test_main.py::test_main_json_reuse_enum_default_member
0%
96.2 ms
96.1 ms
test_main_jsonschema_external_files
tests/test_main.py::test_main_jsonschema_external_files
0%
52.7 ms
52.7 ms
test_main_jsonschema_multiple_files
tests/test_main.py::test_main_jsonschema_multiple_files
0%
95.1 ms
95.1 ms
test_main_collapse_root_models
tests/test_main.py::test_main_collapse_root_models
0%
95.6 ms
95.6 ms
test_main_modular
tests/test_main.py::test_main_modular
0%
344.7 ms
344.6 ms
test_main_strict_types
tests/test_main.py::test_main_strict_types
0%
93.2 ms
93.2 ms
test_main_with_snake_case_field
tests/test_main.py::test_main_with_snake_case_field
0%
149.2 ms
149.2 ms
test_main_jsonschema_nested_deep
tests/test_main.py::test_main_jsonschema_nested_deep
0%
86.8 ms
86.8 ms
test_main_jsonschema_field_include_all_keys
tests/test_main.py::test_main_jsonschema_field_include_all_keys
0%
71.2 ms
71.3 ms
test_force_optional
tests/test_main.py::test_force_optional
0%
156.6 ms
156.6 ms
test_main_nested_directory
tests/test_main.py::test_main_nested_directory
0%
271.2 ms
271.2 ms
test_main_jsonschema_complex_any_of
tests/test_main.py::test_main_jsonschema_complex_any_of
0%
70 ms
70 ms
test_main_use_generic_container_types_standard_collections
tests/test_main.py::test_main_use_generic_container_types_standard_collections
0%
354 ms
354.2 ms
test_use_default
tests/test_main.py::test_use_default
0%
144.6 ms
144.7 ms
test_main_openapi_all_of_required
tests/test_main.py::test_main_openapi_all_of_required
0%
58.8 ms
58.8 ms
test_main_root_id_jsonschema_self_refs_with_local_file
tests/test_main.py::test_main_root_id_jsonschema_self_refs_with_local_file
0%
98.1 ms
98.2 ms
test_main
tests/test_main.py::test_main
0%
144.1 ms
144.3 ms
test_main_autodetect
tests/test_main.py::test_main_autodetect
0%
71.2 ms
71.3 ms

Commits

Click on a commit to change the comparison range
base
main
decc493
0%
Fix alias for superclass with identical name If an externally imported model is renamed because it has the same name as the current model, the alias was incorrectly suffixed with the original name.
6446dfa
4 months ago
by kmichel-aiven
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.