対応例
http://stage.vambenepe.com/archives/category/implementation
結果 google/appengine/runtime/apiproxy.py を参考に
from google.appengine import runtime
from google.appengine.runtime import apiproxy_errors
from google3.apphosting.runtime import _apphosting_runtime___python__apiproxy
これらを import して対応
except runtime.DeadlineExceededError:
File "/base/python_lib/versions/1/google/appengine/runtime/apiproxy.py", line 161, in Waitだけでなく CancelleError というものもある。
rpc_completed = _apphosting_runtime___python__apiproxy.Wait(self)
DeadlineExceededError
File "/base/python_lib/versions/1/google/appengine/runtime/apiproxy.py", line 189, in CheckSuccess
raise self.exception
CancelledError: The API call datastore_v3.Count() was explicitly cancelled.