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%
Improvements
0
Regressions
0
Untouched
29
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_main_external_definitions
tests/test_main.py::test_main_external_definitions
CodSpeed Performance Gauge
0%
56.4 ms
56.3 ms
test_main_jsonschema_multiple_files
tests/test_main.py::test_main_jsonschema_multiple_files
CodSpeed Performance Gauge
0%
95.3 ms
95.2 ms
test_main_with_strip_default_none
tests/test_main.py::test_main_with_strip_default_none
CodSpeed Performance Gauge
0%
141.5 ms
141.3 ms
test_main_inheritance_forward_ref
tests/test_main.py::test_main_inheritance_forward_ref
CodSpeed Performance Gauge
0%
135.3 ms
135.1 ms
test_main_jsonschema_nested_deep
tests/test_main.py::test_main_jsonschema_nested_deep
CodSpeed Performance Gauge
0%
87.1 ms
86.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 ms
98.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 ms
134.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 ms
98.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 ms
71.3 ms
test_main_openapi_nullable
tests/test_main.py::test_main_openapi_nullable
CodSpeed Performance Gauge
0%
169 ms
168.8 ms
test_main_with_snake_case_field
tests/test_main.py::test_main_with_snake_case_field
CodSpeed Performance Gauge
0%
149.7 ms
149.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 ms
88.1 ms
test_main_strict_types
tests/test_main.py::test_main_strict_types
CodSpeed Performance Gauge
0%
93.6 ms
93.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 ms
96.3 ms
test_main_jsonschema_external_files
tests/test_main.py::test_main_jsonschema_external_files
CodSpeed Performance Gauge
0%
52.6 ms
52.6 ms
test_main_jsonschema_id
tests/test_main.py::test_main_jsonschema_id
CodSpeed Performance Gauge
0%
59.3 ms
59.3 ms
test_main_openapi_all_of_required
tests/test_main.py::test_main_openapi_all_of_required
CodSpeed Performance Gauge
0%
58.8 ms
58.8 ms
test_force_optional
tests/test_main.py::test_force_optional
CodSpeed Performance Gauge
0%
157.3 ms
157.2 ms
test_main_all_of_ref
tests/test_main.py::test_main_all_of_ref
CodSpeed Performance Gauge
0%
50.5 ms
50.4 ms
test_main_jsonschema_complex_any_of
tests/test_main.py::test_main_jsonschema_complex_any_of
CodSpeed Performance Gauge
0%
70.1 ms
70.1 ms
test_main_jsonschema_special_field_name
tests/test_main.py::test_main_jsonschema_special_field_name
CodSpeed Performance Gauge
0%
72.1 ms
72.1 ms
test_main_collapse_root_models
tests/test_main.py::test_main_collapse_root_models
CodSpeed Performance Gauge
0%
95.9 ms
95.9 ms
test_main_modular
tests/test_main.py::test_main_modular
CodSpeed Performance Gauge
0%
346.4 ms
346.4 ms
test_main_yaml
tests/test_main.py::test_main_yaml
CodSpeed Performance Gauge
0%
50.8 ms
50.8 ms
test_main
tests/test_main.py::test_main
CodSpeed Performance Gauge
0%
144.5 ms
144.6 ms
test_use_default
tests/test_main.py::test_use_default
CodSpeed Performance Gauge
0%
145 ms
145.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 ms
356 ms
test_main_autodetect
tests/test_main.py::test_main_autodetect
CodSpeed Performance Gauge
0%
71.3 ms
71.3 ms
test_main_nested_directory
tests/test_main.py::test_main_nested_directory
CodSpeed Performance Gauge
-3%
265.1 ms
272.2 ms

Commits

Click on a commit to change the comparison range
Base
main
76fc354
0%
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
2fce9ba
10 months ago
by pre-commit-ci[bot]
0%
Merge branch 'main' into fix-imports-for-base-class-data-type
6196934
9 months ago
by rshah-evertz
0%
Fix broken tests.
0293aac
9 months ago
by rshah-evertz
0%
Merge branch 'main' into fix-imports-for-base-class-data-type
5968f9b
9 months ago
by koxudaxi
Home Terms PrivacyDocs