Closed GoogleCodeExporter closed 9 years ago
Thanks for the bug report. I agree that the get() method should have a
default=None arg to match the dict API.
However, in case you haven't noticed yet, mapping.Document does not support
dynamic items - only explicitly added fields are stored. Defined fields will
have a default value of None so the get() method is probably redundant in most
situations.
Original comment by matt.goo...@gmail.com
on 10 Sep 2010 at 1:06
Dynamic fields may be occured by document model inheritance and also you may
add/remove fields in any time for your model.
Original comment by kxepal
on 10 Sep 2010 at 1:15
Fixed in r22409c4bea.
Original comment by matt.goo...@gmail.com
on 10 Sep 2010 at 1:19
Original issue reported on code.google.com by
kxepal
on 10 Sep 2010 at 9:44