

def _comparison(self, op, value):
    if (op is not None):
        return super(ModelKey, self)._comparison(op, value)
    raise datastore_errors.BadValueError("__key__ filter query can't be compared to None")

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py ModelKey._comparison/VarMisuse@16/18 `value`->`op`