

@convert.register(Iterator, Collection, cost=500.0)
def collection_to_iterator(coll, columns=None, dshape=None, **kwargs):
    (columns, seq) = _into_iter_mongodb(coll, columns=columns, dshape=dshape)
    return seq

dataset/ETHPy150Open blaze/odo/odo/backends/mongo.py collection_to_iterator/original