I would like to write an ndb query which excludes a particular entity, identified by its id, from the result set.
I have tried the following:
result = Entity.query(Entity.key.id() != 'entity-id', *some other condition*).fetch()
The Entity.key.id() != 'entity-id' bit throws an error. What is the correct syntax?