I'll just fix this. (If you already filed a bug tell me the URL.) On Sunday, August 26, 2012 4:30:33 PM UTC-7, Anand Mistry wrote: > > Yes. Please file a bug. > > On Monday, 27 August 2012 04:05:52 UTC+10, Attila-Mihaly Balazs wrote: >> >> I believe that the following example is incorrect in the documentation >> [1]: >> >> app = ndb.toplevel(webapp.WSGIApplication)([('/', MainPage)]) >> >> It sees to me that the correct way to write this would be: >> >> app = ndb.toplevel(webapp.WSGIApplication([('/', MainPage)])) >> >> Otherwise it just wraps the class, not the actual instance of it and >> while it seems to work, it can lead to silent corruptions (dropping of >> async tasks). >> >> Am I correct in this assumption? Should I file a bug for this? >> >> Thanks, >> Attila >> >> [1] https://developers.google.com/appengine/docs/python/ndb/async >> >>
-- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Z96C3-j9sRwJ. 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.