{"push_id":832799160,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"a21fda70976d37562784f2fab3872e02b419ecd7","before":"475e7a9d045c94fad849ec106c05890702f8443a","commits":[{"sha":"0d58b2ee401af6603a59990c2ebbde04c7a3f2ee","author":{"email":"fee663f9e5d0da867c63758ee9120af1b97009ef@nedomkull.com","name":"Henrik Blidh"},"message":"Modifications to enable pymongo 3.0.x compatability.\n\n* Removed `auto_start_request` from __init__ in the pymongo >= 3.0 case.\n\n* Using only the MongoClient for pymongo >= 3.0 case, since\n  MongoReplicaSetClient is labelled deprecated and all functionality\n  has been merged to MongoClient.\n\n* Wrappers has a overriding `__getitem__` method added. In pymongo < 3.0 the\n  `__getitem__` method (used when calling c[db_name]) called the `__getattr__`\n  method (used when calling c.db_name), so wrappers did not need to override both then.\n  In pymongo > 3.0 this is not the case.\n\n* Tests in test_config.py use `mongo.cx.address` property instead of\n  `host` and `port` properties of the MongoClient in the pymongo >= 3.0 case,\n  since they have been removed. All tests using this property also\n  sleeps a short time since the client needs some time to establish\n  connection to MongoDB and set the proper values, otherwise the tests fails.\n\n* The `safe` keyword is deprecated for insert method, though only flagged\n  in pymongo 2.x. Change all these to `w=1` which has equal effect.\n  `insert` method also has a deprecation warning in pymongo 3.0.x,\n  so `insert_one` is used instead in these cases.","distinct":true,"url":"https://api.github.com/repos/dcrosta/flask-pymongo/commits/0d58b2ee401af6603a59990c2ebbde04c7a3f2ee"},{"sha":"a21fda70976d37562784f2fab3872e02b419ecd7","author":{"email":"b24a40bae28de5219a5a98356281784f299a69d6@gmail.com","name":"J. Randall Hunt"},"message":"Merge pull request #63 from hbldh/pymongo3.0_feature\n\nModifications to enable pymongo 3.0.x compatability.","distinct":true,"url":"https://api.github.com/repos/dcrosta/flask-pymongo/commits/a21fda70976d37562784f2fab3872e02b419ecd7"}]}