-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Collection' object is not callable #4
Comments
You should use MongoClient instead of Connection Try this: db = pymongo.MongoClient('localhost',27017) |
Thanks, was using example from README. Also I noticed you used timedelta(self.timeout). You probably want timedelta(seconds=self.timeout) because the default first argument is days. |
+1 @richardpenman I just ran into this myself.. too bad this project seems to died |
Please refer to comment on kapilt#4 If you are inclined to, you should try to make your fork the new one and maybe submit to pypi mongo_queue maybe? Too bad the original author went silent
Please refer to comment on kapilt#4
The text was updated successfully, but these errors were encountered: