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

Add --output-date-class option and date-time-local format support

#2739Merged
Comparing
feature/datetime-date-class-options
(
26fcff5
) with
main
(
253bd7c
)
CodSpeed Performance Gauge
-1%
Untouched
71
Skipped
10

Benchmarks

81 total
test_main_openapi_all_of_required
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
41.1 ms41.2 ms
test_main_jsonschema_reserved_field_name[dataclasses.dataclass-reserved_field_name_schema_dataclass.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
29.5 ms29.6 ms
test_main_jsonschema_reserved_field_name[typing.TypedDict-reserved_field_name_schema_typed_dict.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
28.8 ms29 ms
test_main_type_alias_forward_ref_keep_model_order
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
49.8 ms50 ms
test_main_type_alias_cycle_keep_model_order
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
38.2 ms38.3 ms
test_main_use_frozen_field[dataclasses.dataclass-use_frozen_field_dataclass.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
33.9 ms34.1 ms
test_main_nullable_array_items_strict_nullable
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
54.5 ms54.8 ms
test_main_bundled_schema_with_id_url
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
72.5 ms73 ms
test_main_jsonschema_no_empty_collapsed_external_model
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
33.4 ms33.6 ms
test_main_field_name_shadows_class_name
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
49.1 ms49.4 ms
test_main_keep_model_order_field_references
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
37.2 ms37.4 ms
test_main_all_of_ref
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
38.6 ms38.9 ms
test_main_jsonschema_id
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
42.2 ms42.4 ms
test_main_openapi_nullable_31
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
-1%
44.4 ms44.7 ms
test_main_use_default_factory_for_optional_nested_models[msgspec.Struct-default_factory_nested_model_msgspec.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
57.4 ms57.8 ms
test_main_use_default_factory_for_optional_nested_models[dataclasses.dataclass-default_factory_nested_model_dataclass.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
53.4 ms53.8 ms
test_main_pydantic_v2_model_rebuild_inheritance
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
56.1 ms56.5 ms
test_main_jsonschema_external_files
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
35.5 ms35.8 ms
test_main_use_default_factory_for_optional_nested_models_with_dict[dataclasses.dataclass-default_factory_nested_model_with_dict_dataclass.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
56.5 ms56.9 ms
test_main_external_definitions
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
38.9 ms39.2 ms
test_main_jsonschema_reserved_field_name[pydantic_v2.BaseModel-reserved_field_name_schema_pydantic.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
45.7 ms46 ms
test_main_bundled_schema_with_id_local_file
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
67.7 ms68.2 ms
test_main_nested_lookaround_array_standard_collections
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
57.6 ms58.1 ms
test_main_jsonschema_root_model_ordering[extra_args1-jsonschema_root_model_ordering_keep_model_order.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
132.7 ms133.6 ms
test_main_lookaround_dict_pydantic_v2
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
53.1 ms53.5 ms

Commits

Click on a commit to change the comparison range
Base
main
253bd7c
-0.77%
docs: update CLI reference documentation
26fcff5
4 months ago
by github-actions[bot]
© 2026 CodSpeed Technology
Home Terms Privacy Docs