Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
Security Level: Public
-
None
Description
http://www.couchbase.com/autodocs/couchbase-python-client-1.2.0/html/api/couchbase.html
http://pythonhosted.org/couchbase/api/couchbase.html
The documentation for the connection object has the following ->
host (string or list) – the hostname or IP address of the node. This can be a list or tuple of multiple nodes; the nodes can either be simple strings, or (host, port) tuples (in which case the port parameter from the method arguments is ignored).
===========
It wasn't clear to me how the sdk expected the list of hosts to be provided, only by reading the C client could I see it was expecting a semi-colon separated list of hosts. I would recommend that the documentation specifically says a semi-colon separated list of hosts and provide an example which has a list of hosts. Square bracket standard python lists also seem to work. Perhaps these can also be shown as an example.