heynemann / motorengine

Motorengine is a port of MongoEngine for Tornado.
http://motorengine.readthedocs.org
204 stars 67 forks source link

Incompatibilities aggregation with motor v0.6 #119

Closed Rey8d01 closed 8 years ago

Rey8d01 commented 8 years ago

This commit in motor https://github.com/mongodb/motor/commit/53e24242c971643434bb562da53c91bcf7b12031#diff-67edbd5c52eb402e55fdc3d018d11fcc make changes in motor.core.AgnosticCollection#aggregate and now method not work if pass "callback", but "callback" always passed in motorengine/aggregation/base.py:162 even if I nothing not passed into fetch.