Skip to content

Commit 0f4835e

Browse files
DjMorguldjc
authored andcommitted
Show property doc on Row string representation
It was confusing to not see it even it's assigned, it led me to think that include_docs=True parameter on my request wasn't working. So after some debugging, I noticed this minor issue.
1 parent 31c64f3 commit 0f4835e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

couchdb/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,7 @@ class Row(dict):
13231323
"""Representation of a row as returned by database views."""
13241324

13251325
def __repr__(self):
1326-
keys = 'id', 'key', 'error', 'value'
1326+
keys = 'id', 'key', 'doc', 'error', 'value'
13271327
items = ['%s=%r' % (k, self[k]) for k in keys if k in self]
13281328
return '<%s %s>' % (type(self).__name__, ', '.join(items))
13291329

0 commit comments

Comments
 (0)