Logo
Explore Activity Archives @kennethreitz Help
Sign In
kennethreitz/pydantic
1
0
Fork 0
You've already forked pydantic
mirror of https://github.com/kennethreitz/pydantic.git synced 2026-06-05 23:00:18 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
e00dba322badd4b080475801889c8fc0dd7d4639
pydantic/changes/1981-daviskirk.md
T
Davis Kirkendall 30ee8e2203 Force fields.Undefined to be a singleton objectIn various places of the code, we compare directly to fields.Undefinedsince we assume it to be constant.When new models get created however, the object is deepcopied andis no longer identical with the original object.We therefore add __copy__ and __deepcopy__ methods to ensurethat the copied objects are actually the same original object. (#1981)
2020-10-09 13:25:24 +01:00

90 B
Raw Blame History

Force fields.Undefined to be a singleton object, fixing inherited generic model schemas

Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.26.2 Page: 48ms Template: 3ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API