Hi, the thing is that MongoClient was not being initialized correctly. I discovered it while trying to use tz_aware parameter and queries always returned naive datetime instances.
I passed *args and **kwargs to the MongoClient initializer so all the MongoClient options can be used, but I haven't written tests for all options, just one for the tz_aware case, by the way.
Hi, the thing is that
MongoClient
was not being initialized correctly. I discovered it while trying to usetz_aware
parameter and queries always returned naive datetime instances.I passed
*args
and**kwargs
to theMongoClient
initializer so all the MongoClient options can be used, but I haven't written tests for all options, just one for the tz_aware case, by the way.