from google.appengine.ext.db import Key
key = Key('bgakaWdyc3NlcnIPCxIJRmVlZEVudHJ5GAwM')
PageModel.all().filter('__key__ IN ', [key])
PageModel.all().filter('__key__ = ', key)
App Engine, Python: how to filter query by ID?