mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
9cfbd2b11b
* Empty string is a valid JSON-key Signed-off-by: Sergey Tsaplin <me@sergeytsaplin.com> * Update changes/4253-sergeytsaplin.md Co-authored-by: Samuel Colvin <samcolvin@gmail.com> * has_alias attribute of the ModelField also should be a result of comparison with None Signed-off-by: Sergey Tsaplin <me@sergeytsaplin.com> Co-authored-by: Samuel Colvin <samcolvin@gmail.com>
91 B
91 B
Allow empty string aliases by using a alias is not None check, rather than bool(alias)