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

fix(ModuleImports): This PR fixes the module import resolver for module of type `BaseClassDataType`

#1862Merged
Comparing
rshah-evertz:fix-imports-for-base-class-data-type
(
5968f9b
) with
main
(
76fc354
)
CodSpeed Performance Gauge
0%
Untouched
29

Benchmarks

Passed

test_main_external_definitions
tests/test_main.py::test_main_external_definitions
CodSpeed Performance Gauge
0%
56.4 ms56.3 ms
test_main_jsonschema_multiple_files
tests/test_main.py::test_main_jsonschema_multiple_files
CodSpeed Performance Gauge
0%
95.3 ms95.2 ms
test_main_with_strip_default_none
tests/test_main.py::test_main_with_strip_default_none
CodSpeed Performance Gauge
0%
141.5 ms141.3 ms
test_main_inheritance_forward_ref
tests/test_main.py::test_main_inheritance_forward_ref
CodSpeed Performance Gauge
0%
135.3 ms135.1 ms
test_main_jsonschema_nested_deep
tests/test_main.py::test_main_jsonschema_nested_deep
CodSpeed Performance Gauge
0%
87.1 ms86.9 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
CodSpeed Performance Gauge
0%
98.3 ms98.2 ms
test_main_inheritance_forward_ref_keep_model_order
tests/test_main.py::test_main_inheritance_forward_ref_keep_model_order
CodSpeed Performance Gauge
0%
134.5 ms134.3 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
CodSpeed Performance Gauge
0%
98.5 ms98.4 ms
test_main_jsonschema_field_include_all_keys
tests/test_main.py::test_main_jsonschema_field_include_all_keys
CodSpeed Performance Gauge
0%
71.4 ms71.3 ms
test_main_openapi_nullable
tests/test_main.py::test_main_openapi_nullable
CodSpeed Performance Gauge
0%
169 ms168.8 ms
test_main_with_snake_case_field
tests/test_main.py::test_main_with_snake_case_field
CodSpeed Performance Gauge
0%
149.7 ms149.6 ms
test_main_strict_types_all_with_field_constraints
tests/test_main.py::test_main_strict_types_all_with_field_constraints
CodSpeed Performance Gauge
0%
88.2 ms88.1 ms
test_main_strict_types
tests/test_main.py::test_main_strict_types
CodSpeed Performance Gauge
0%
93.6 ms93.5 ms
test_main_json_reuse_enum_default_member
tests/test_main.py::test_main_json_reuse_enum_default_member
CodSpeed Performance Gauge
0%
96.3 ms96.3 ms
test_main_jsonschema_external_files
tests/test_main.py::test_main_jsonschema_external_files
CodSpeed Performance Gauge
0%
52.6 ms52.6 ms
test_main_jsonschema_id
tests/test_main.py::test_main_jsonschema_id
CodSpeed Performance Gauge
0%
59.3 ms59.3 ms
test_main_openapi_all_of_required
tests/test_main.py::test_main_openapi_all_of_required
CodSpeed Performance Gauge
0%
58.8 ms58.8 ms
test_force_optional
tests/test_main.py::test_force_optional
CodSpeed Performance Gauge
0%
157.3 ms157.2 ms
test_main_all_of_ref
tests/test_main.py::test_main_all_of_ref
CodSpeed Performance Gauge
0%
50.5 ms50.4 ms
test_main_jsonschema_complex_any_of
tests/test_main.py::test_main_jsonschema_complex_any_of
CodSpeed Performance Gauge
0%
70.1 ms70.1 ms
test_main_jsonschema_special_field_name
tests/test_main.py::test_main_jsonschema_special_field_name
CodSpeed Performance Gauge
0%
72.1 ms72.1 ms
test_main_collapse_root_models
tests/test_main.py::test_main_collapse_root_models
CodSpeed Performance Gauge
0%
95.9 ms95.9 ms
test_main_modular
tests/test_main.py::test_main_modular
CodSpeed Performance Gauge
0%
346.4 ms346.4 ms
test_main_yaml
tests/test_main.py::test_main_yaml
CodSpeed Performance Gauge
0%
50.8 ms50.8 ms
test_main
tests/test_main.py::test_main
CodSpeed Performance Gauge
0%
144.5 ms144.6 ms
test_use_default
tests/test_main.py::test_use_default
CodSpeed Performance Gauge
0%
145 ms145.1 ms
test_main_use_generic_container_types_standard_collections
tests/test_main.py::test_main_use_generic_container_types_standard_collections
CodSpeed Performance Gauge
0%
355.7 ms356 ms
test_main_autodetect
tests/test_main.py::test_main_autodetect
CodSpeed Performance Gauge
0%
71.3 ms71.3 ms
test_main_nested_directory
tests/test_main.py::test_main_nested_directory
CodSpeed Performance Gauge
-3%
265.1 ms272.2 ms

Commits

Click on a commit to change the comparison range
Base
main
76fc354
+0.02%
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
2fce9ba
2 years ago
by pre-commit-ci[bot]
-0.13%
Merge branch 'main' into fix-imports-for-base-class-data-type
6196934
1 year ago
by rshah-evertz
+0.03%
Fix broken tests.
0293aac
1 year ago
by rshah-evertz
+0.05%
Merge branch 'main' into fix-imports-for-base-class-data-type
5968f9b
1 year ago
by koxudaxi
© 2025 CodSpeed Technology
Home Terms Privacy Docs