koxudaxi
datamodel-code-generator
BlogDocsChangelog

add dataclass arguments

#2437Merged
Comparing
ICEPower420:main
(
641fff0
) with
main
(
61ae0da
)
CodSpeed Performance Gauge
0%
Untouched
30
Skipped
3

Benchmarks

Skipped (3)

Passed

test_main_collapse_root_models
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
68.6 ms68.5 ms
test_main_json_reuse_enum_default_member
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
66.1 ms66 ms
test_force_optional
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
123 ms122.9 ms
test_use_default
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
111.8 ms111.8 ms
test_main_modular
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
301.7 ms301.6 ms
test_main_jsonschema_special_field_name
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
51.9 ms51.9 ms
test_main_jsonschema_nested_deep
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
66.3 ms66.3 ms
test_main_openapi_nullable
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
130.4 ms130.4 ms
test_main_jsonschema_id
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
40.2 ms40.2 ms
test_main_inheritance_forward_ref
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
101.2 ms101.1 ms
test_main_root_id_jsonschema_self_refs_with_remote_file
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
70.5 ms70.5 ms
test_main_inheritance_forward_ref_keep_model_order
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
100.9 ms100.9 ms
test_main_jsonschema_multiple_files
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
74.6 ms74.6 ms
test_main
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
110.7 ms110.7 ms
test_main_with_strip_default_none
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
108.4 ms108.4 ms
test_main_openapi_all_of_required
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
38.1 ms38.1 ms
test_main_jsonschema_field_include_all_keys
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
48.6 ms48.6 ms
test_main_jsonschema_external_files
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
34.1 ms34.1 ms
test_main_all_of_ref
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
35.8 ms35.8 ms
test_main_autodetect
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
49.1 ms49.1 ms
test_main_with_snake_case_field
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
115.5 ms115.6 ms
test_main_root_id_jsonschema_self_refs_with_local_file
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
70.2 ms70.2 ms
test_main_jsonschema_collapsed_external_references
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
68 ms68.1 ms
test_main_strict_types
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
68.3 ms68.3 ms
test_main_jsonschema_no_empty_collapsed_external_model
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
32.3 ms32.4 ms
test_main_type_alias_forward_ref_keep_model_order
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
48.2 ms48.2 ms
test_main_openapi_nullable_31
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
33.6 ms33.7 ms
test_main_jsonschema_required_and_any_of_required
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
47.2 ms47.2 ms
test_main_external_definitions
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
36.3 ms36.4 ms
test_main_yaml
tests/main/test_main_yaml.py
CodSpeed Performance Gauge
0%
32.3 ms32.4 ms

Commits

Click on a commit to change the comparison range
Base
main
61ae0da
-0.01%
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
52c5ffb
5 months ago
by pre-commit-ci[bot]
+0.01%
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
db7bdc2
5 months ago
by pre-commit-ci[bot]
-0.04%
default encoding: utf-8
f988ffc
5 months ago
+0.04%
Update docs/index.md Co-authored-by: Antonio Spadaro <ilovelinux@users.noreply.github.com>
d2f7bf1
4 months ago
by gaborbernat
-0.07%
Merge branch 'main' into main
822937d
3 months ago
by koxudaxi
+0.02%
Import Types from jsonschema parser in test_param.py
a4846c6
10 days ago
by koxudaxi
+0.06%
Refactor data type assignment in test_param.py to use built-in str type
d4191f4
10 days ago
by koxudaxi
-0.02%
Refactor dataclass argument handling in _create_data_model for improved readability
f23dc15
10 days ago
by koxudaxi
+0.04%
Add tests for Pydantic model handling in GraphQL and JSON Schema code generation
a7b8fe3
9 days ago
by koxudaxi
+0.04%
Add test for GraphQL code generation with frozen and keyword-only dataclass
eb8c14b
9 days ago
by koxudaxi
-0.03%
Refactor dataclass argument handling to simplify merging of existing arguments
09f1c6c
9 days ago
by koxudaxi
+0.03%
Remove .venv/ from .gitignore to allow virtual environment tracking
0c070d4
9 days ago
by koxudaxi
+0.05%
Merge branch 'main' into main
285fafd
9 days ago
by koxudaxi
0%
feat: update JSON parsing to use DataclassArguments for improved validation
4322321
9 days ago
by koxudaxi
+0.03%
fix: cast result to DataclassArguments for type safety in argument parsing
c373169
9 days ago
by koxudaxi
+0.02%
test: add parameterized tests for _create_data_model in GraphQLParser
85b04ef
9 days ago
by koxudaxi
-0.19%
Merge branch 'main' into main
641fff0
9 days ago
by koxudaxi
© 2025 CodSpeed Technology
Home Terms Privacy Docs