You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns the following error: 'Query' object has no attribute 'cursor'
'Query' object has no attribute 'cursor' Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1535, in __call__ rv = self.handle_exception(request, response, e) File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1529, in __call__ rv = self.router.dispatch(request, response) File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1278, in default_dispatcher return route.handler_adapter(request, response) File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 1102, in __call__ return handler.dispatch() File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 572, in dispatch return self.handle_exception(e, self.app.debug) File "/usr/local/lib/python2.7/dist-packages/webapp2.py", line 570, in dispatch return method(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/google/appengine/ext/deferred/deferred.py", line 310, in post self.run_from_request() File "/usr/local/lib/python2.7/dist-packages/google/appengine/ext/deferred/deferred.py", line 305, in run_from_request run(self.request.body) File "/usr/local/lib/python2.7/dist-packages/google/appengine/ext/deferred/deferred.py", line 147, in run return func(*args, **kwds) File "/home/vmagent/app/views/update_schema.py", line 50, in update_schema_task update_schema_task, cursor=query.cursor(), num_updated=num_updated) AttributeError: 'Query' object has no attribute 'cursor'
Activity
theacodes commentedon Nov 8, 2016
@jonathan-s nice find! Thank you for reporting. I've fixed this in 8e99bba.
chore(deps): update dependency backoff to v2.2.1 (#643)
chore(deps): update dependency backoff to v2.2.1 (#643)