Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 279 Bytes

pyproject_toml.md

File metadata and controls

12 lines (10 loc) · 279 Bytes

datamodel-code-generator has a lot of command-line options.

The options are supported on pyproject.toml.

Example pyproject.toml:

[tool.datamodel-codegen]
field-constraints = true
snake-case-field = true
strip-default-none = false
target-python-version = "3.7"