I tried to use the body of the get_kinds() function (after adding the line "from google.appengine.api import datastore_admin"), but I get the error:
BadRequestError: app [myappname] cannot call GetSchema Karl On Mar 25, 2:19 pm, mstodd <[email protected]> wrote: > Well, the admin interface canlistthem, so I tracked down how that's > happening, and it's in google/google_appengine/google/appengine/ext/ > admin/__init__.py > > check out get_kinds() in that file. > looks like it just uses datastore_admin from google.appengine.api > > let me know if you get stuck. > > On Mar 24, 7:46 pm, Trung <[email protected]> wrote: > > > Hi, > > > I'd like to know whether we canprogrammaticallyknow thelistof > >entity > > KIND currently in the datastore. > > > Thanks in advance. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
