Is there an "official" way to get the Model class from a Query instance? I had a look through the online docs and couldn't find anything.
In the SDK code however, the Model class of a Query instance can be retrieved from the _model_class attribute of the Query instance, eg: q = MyModel.all() .... model_class = q._model_class # == MyModel I don't really want to do it this way because since this is not documented anywhere, I'm afraid that this implementation may change in the future. -- 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-appeng...@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.