Description
Under Observe-Info in the API documentation for 1.0.0, the observe flags are listed as being under couchbase.result. When trying to access the constants from there, an AttributeError occurs:
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import couchbase
>>> couchbase.result.OBS_FOUND
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'OBS_FOUND'
>>> import couchbase.result
>>> couchbase.result.OBS_FOUND
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'OBS_FOUND'
>>> couchbase.OBS_FOUND
0
Documentation reference:
http://pythonhosted.org/couchbase/api/results.html#observe-info
Documentation may need to be updated to reflect the actual location of flag constants.