Skip to content

Commit f5f8910

Browse files
committed
Populate by name to True
1 parent 0f647ed commit f5f8910

2 files changed

Lines changed: 183 additions & 1 deletion

File tree

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ wrap_string_literal = true
206206
snake_case_field = true
207207
use_subclass_enum = true
208208
extra_fields = "allow"
209+
allow_population_by_field_name = true
209210
aliases = "datamodel_codegen_aliases.json"
210211
formatters = ["ruff-check", "ruff-format"]
211212

0 commit comments

Comments
 (0)