PyMongo 1.7 and MasterSlaveConnection – TypeError breakage

MasterSlaveConnection: Works in Pymongo 1.6 In my previous article Python, MongoDB and Pylons – Connection handles and all that lark I described the code and configuration we use at Snaptic for working with Pylons and MongoDB. We use the MasterSlaveConnection class to automatically handle read/write splitting, because we expect to be running a single master/multiple [...]

Python, MongoDB and Pylons – Connection handles and all that lark

I’ve been doing a bunch of hacking with Pylons and MongoDB recently for some backend stuff at Snaptic. Right now we are using Paster as the webserver and the Pymongo driver. This all works fine and is pretty straightforward to set up – but there are a couple of subtleties. MongoDB vs SQLAlchemy If you’ve [...]