def fetch_by_user_id_app_id_data_type_read_access_not_expired( cls, user_id, app_id, data_type, read_access ):
return cls.query( ndb.AND( cls.user_id == user_id,
cls.app_id == app_id,
cls.data_type == data_type,
cls.read_access == read_access,
cls.time_expires > datetime.datetime.now())).fetch()
评论列表
文章目录