You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using bulk save, with a list containing the same document twice, BulkSaveError is properly thrown, but error is empty.
try:
db.bulk_save([docA, docB, docB])
except BulkSaveError, e:
# e is empty
CouchDB will return 201. First instance of docB is good in the response, second instance will contain:
{'reason': 'Document update conflict.', 'id': 'docid', 'error': 'conflict'}
The text was updated successfully, but these errors were encountered:
Using bulk save, with a list containing the same document twice, BulkSaveError is properly thrown, but error is empty.
try:
db.bulk_save([docA, docB, docB])
except BulkSaveError, e:
# e is empty
CouchDB will return 201. First instance of docB is good in the response, second instance will contain:
{'reason': 'Document update conflict.', 'id': 'docid', 'error': 'conflict'}
The text was updated successfully, but these errors were encountered: