Merge pull request #1113 from DavidBord/fix-1105
fix-#1105: StrictDict & SemiStrictDict are shadowed at init time
This commit is contained in:
commit
d4f6ef4f1b
@ -9,6 +9,7 @@ Changes in 0.10.1 - DEV
|
|||||||
- Fix ignored chained options #842
|
- Fix ignored chained options #842
|
||||||
- Document save's save_condition error raises `SaveConditionError` exception #1070
|
- Document save's save_condition error raises `SaveConditionError` exception #1070
|
||||||
- Fix Document.reload for DynamicDocument. #1050
|
- Fix Document.reload for DynamicDocument. #1050
|
||||||
|
- StrictDict & SemiStrictDict are shadowed at init time. #1105
|
||||||
|
|
||||||
Changes in 0.10.0
|
Changes in 0.10.0
|
||||||
=================
|
=================
|
||||||
|
@ -85,7 +85,6 @@ class BaseDocument(object):
|
|||||||
self._data = SemiStrictDict.create(
|
self._data = SemiStrictDict.create(
|
||||||
allowed_keys=self._fields_ordered)()
|
allowed_keys=self._fields_ordered)()
|
||||||
|
|
||||||
self._data = {}
|
|
||||||
self._dynamic_fields = SON()
|
self._dynamic_fields = SON()
|
||||||
|
|
||||||
# Assign default values to instance
|
# Assign default values to instance
|
||||||
|
Loading…
x
Reference in New Issue
Block a user