def IN(item, inList):
 if (not isinstance(item, schema.Column)):
  return OR(*[(x == item) for x in inList])
 else:
  return item.in_(inList)

def IN ( item , inList ) : if ( not isinstance ( item , schema . Column ) ) : return OR ( * [ ( x == item ) for x in inList ] ) else : return item . in_ ( inList )
emulate sqlobjects in .