How are you sure the referenced entities are being stored too?

I always assumed that it's just a query object waiting to be
referenced.

If this is true, I am REALLY interested in a solution as well!


On Jul 20, 4:21 am, Benedikt <benedikt.e...@gmail.com> wrote:
> Hi,
> I have a list of entities which I want to store in the memcache. The
> problem is that I have large Models referenced by their
> ReferenceProperty which are automatically also stored in the memcache.
> As a result I'm exceeding the size limit for objects stored in
> memcache.
>
> Is there any possibility to prevent the ReferenceProperties from
> loading the referenced Models while putting them in memcache?
>
> I tried something like
>
>     def __getstate__(self):
>         odict = self.__dict__.copy()
>         odict['model'] = None
>         return odict
>
> in the class I want to store in memcache, but that doesn't seem to do
> the trick.
>
> Any suggestions would be highly appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to