def fetch_keys_by_email_type( cls, email, type ): return cls.query( ndb.AND( cls.email == email, cls.type == type )).fetch( keys_only = True )