mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
d14731f16c
* ignore Pipfile, .lock files * add ref_template option use a string.Template instead of a ref_prefix to allow for more varied`$ref`s to be created. Template string is expected to have $model_name `identifier ` * formatting / linting * add changes * typo * use string.format instead of string.Template * remove ref_prefix default if no `ref_prefix` provided, use the `template_default` * use ref_template in field_singleton_schema * fix test_schema_with_ref_template * add parameters for `test_schema_with_refs` test name change test for key error * provide ref_template default argument * fix linting * fix mypy and coverage * docs and correct model_schema usage * fastAPI tests actualy caught an error * linting Co-authored-by: Samuel Colvin <s@muelcolvin.com>