Is query a db.GqlQuery or a db.Query? In either case you can use:
query.run(keys_only=True) # works for fetch and get as well On Wed, Apr 18, 2012 at 2:48 PM, Jason Collins <[email protected]>wrote: > This is almost certainly due to a change in a protected attribute on > the Query class in 1.6.5 (which is rolling out on this datacenter). > > I KNOW, I KNOW - we should not be relying on a protected attribute. It > was part of the global changes we needed to put in place for our HRD > cutover. > > So, that said, I need to convert a Query object into a keys_only=True > Query object (i.e., everything else the same, but keys_only=True is > set). Can anyone think of a safe way to do that? > > (In 1.6.4, the following worked, which is now what is broken: > "query._keys_only = True") > > j > > On Apr 18, 3:24 pm, Jason Collins <[email protected]> wrote: > > I don't think this is a datastore issue. The stack trace looks like a > > python backend issue. > > > > On Apr 18, 3:09 pm, "powera (App Engine Reliablity)" > > > > > > > > > > > > > > > > <[email protected]> wrote: > > > Nevermind, I can look up the enterprise support case. > > > > > On Apr 18, 2:07 pm, "powera (App Engine Reliablity)" > > > > > <[email protected]> wrote: > > > > What is your app id? > > > > > > The admin console looks to have thrown higher error rates for a 5 > > > > minute window recently, this is unrelated to any datastore issues. > > > > > > On Apr 18, 2:05 pm, Jason Collins <[email protected]> wrote: > > > > > > > We are seeing this on data centre na3, but not on na6. > > > > > > > j > > > > > > > On Apr 18, 3:00 pm, Jason Collins <[email protected]> > wrote: > > > > > > > > Also, deployments are throwing errors. > > > > > > j > > > > > > > > On Apr 18, 2:55 pm, Jason Collins <[email protected]> > wrote: > > > > > > > > > Seeing lots of errors on db.get() suddenly and from all parts > of our > > > > > > > code (no, we haven't pushed any new code). > > > > > > > > > Also, our dashboard is throwing lots of errors. > > > > > > > > > Anyone else seeing this? (I've opened an enterprise support > case > > > > > > > already, but wondering if anyone else is seeing same.) > > > > > > > > > j > > -- > 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. > > -- 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.
