Make MongoCollectionReader's iter be able to yield raw docs
#5
thorwhalen
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In MongoCollectionReader's init we assert that
iter_projectioncan't beNone(before that we doiter_projection = iter_projection or (ID,)to replace theNone).But it seems it could be good to not have a projection at all sometimes, to be able to see the raw docs.
All it (seems) it would take is to remove that assertion as well as the
iter_projection = iter_projection or (ID,), sincemgc.find(projection=None)i valid.All reactions