

def _IN(self, value):
    if (not isinstance(value, (list, tuple, set, frozenset))):
        raise datastore_errors.BadArgumentError(('Expected list, tuple or set, got %r' % (value,)))
    from .query import DisjunctionNode, FalseNode
    filters = [filters._comparison('=', val) for val in value]
    if (not filters):
        return FalseNode()
    else:
        return DisjunctionNode(*filters)

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py StructuredProperty._IN/VarMisuse@60/87 `self`->`filters`