If you use the (undocumented) underlying datastore API you will get
datastore objects as lists of dictionary-like objects. It is the
higher level datastore API that converts these objects into Models.
Consequently, using this API is slightly faster as well. For example
from google.appengine.api im
Hi
Something about what you have said here doesn't make sense.
Whilst objects aren't iterable lists are and so if you have a list of
datastore entities as a result of a fetch
then the code you showed will in fact work.
Assuming datelist is the result of a fetch.
Then the following will work.
Many thanks, this should do nicely. I have already written a hack-job
implementation to get around it, but will soon change it to something
that makes use of this.
On 16 Apr., 10:23, hawkett wrote:
> If you use the (undocumented) underlying datastore API you will get
> datastore objects as list
Perhaps I misunderstood what you are trying to do. Have you seen the
dynamic_properties() method of the Model class?
http://code.google.com/appengine/docs/python/datastore/modelclass.html
(at the bottom)
It's pretty hard to find - I flagged a doc defect ages ago -
http://groups.google.com/group/g