couchdb-python
couchdb-python copied to clipboard
Python library for working with CouchDB
As discussed in #313 When couchdb-python is used with multiprocessing, you get `TypeError: 'ResponseBody' object is not iterable`. This happens in `couchdb.http.Session:request` method: ```python # Read the full response for...
It seems that couchdb-python or some of the libraries used leaks memory. This can lead to memory exhaustion on big tasks. A simple example using only reads from a server...
There appears to be a race condition and the bug exists in both Python 2.x and Python 3.x, although they're manifested differently. Minimum code to reproduce the bug: ```python import...
I could't find any method which is an implementation of [multiple_attachment](https://wiki.apache.org/couchdb/HTTP_Document_API#Multiple_Attachments). Can it be added as a new feature?
``` import couchdb import couchdb.mapping as cmap c = couchdb.Server() db = c['test'] class TestDoc(cmap.Document): @cmap.ViewField.define('test_view') def test_view(doc): if doc: yield doc['id'], doc test_doc = TestDoc() # test_doc.test_view.sync(db) ``` This...
Several breaking changes likely make this a fairly significant update http://docs.couchdb.org/en/stable/whatsnew/2.0.html#version-2-0-0
Let's review it commit-by-commit! Some highlight: - The `__main__.py` will invoke `server.__init__.SimpleQueryServer` - The `SimpleQueryServer` support some legacy query protocol. Are we still need them? Here is the snippet about...
So since your doing a reduce there is no "id" value, and it will throw an exception. It would be nice to fix this, but I think you would have...
Hello, Here I am back. Still working with `DateTime` fields. At the moment to "slice" (equivalent to `startkey/endkey`) a `ViewResult` you need to serialize the a `datetime` object into a...
I would be awesome if you where to put caching on the feature roadmap.