|
|
|
Created:
13 years, 1 month ago by Cd-MaN Modified:
13 years, 1 month ago CC:
appengine-ndb-discuss_googlegroups.com Visibility:
Public. |
Add sanity check for the types of default values for (Local)StructuredProperty
Patch Set 1 #
Total comments: 2
Total messages: 3
|
Cd-MaN
|
13 years, 1 month ago (2012年12月07日 19:37:58 UTC) #1 | |||||||||||||||||||||
This is a part extracted from https://codereview.appspot.com/6870063/
Almost looks good. https://codereview.appspot.com/6903051/diff/1/ndb/model.py File ndb/model.py (right): https://codereview.appspot.com/6903051/diff/1/ndb/model.py#newcode2071 ndb/model.py:2071: if self._default: is not None https://codereview.appspot.com/6903051/diff/1/ndb/model.py#newcode2342 ndb/model.py:2342: if self._default: is not None