[couchdb-python] push by djc.ochtman - Improve Database.changes() docstring (fixes issue 196). on 2012-09-21 08:01 GMT

9 views
Skip to first unread message

couchdb...@googlecode.com

unread,
Sep 21, 2012, 4:01:11 AM9/21/12
to couchdb...@googlegroups.com
Revision: 0ec0224b1c96
Branch: default
Author: Dirkjan Ochtman <dir...@ochtman.nl>
Date: Fri Sep 21 01:01:01 2012
Log: Improve Database.changes() docstring (fixes issue 196).
http://code.google.com/p/couchdb-python/source/detail?r=0ec0224b1c96

Modified:
/couchdb/client.py

=======================================
--- /couchdb/client.py Fri Sep 21 00:53:53 2012
+++ /couchdb/client.py Fri Sep 21 01:01:01 2012
@@ -894,7 +894,8 @@
def changes(self, **opts):
"""Retrieve a changes feed from the database.

- Takes since, feed, heartbeat and timeout options.
+ :param opts: optional query string parameters
+ :return: an iterable over change notification dicts
"""
if opts.get('feed') == 'continuous':
return self._changes(**opts)
Reply all
Reply to author
Forward
0 new messages