def _post_delete_hook(cls, key, future):
"""
Deletes an EmailReport from our search index when it is deleted from
the datastore.
Args:
cls - The model class
key - The instance ndb.Key
future - The async future operation
"""
future.check_success()
search_provider.delete(str(key.id()))
评论列表
文章目录