Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
0
Description
Code to reproduce:
cluster = Cluster('couchbase://127.0.0.1', ClusterOptions(PasswordAuthenticator('Administrator', 'password')))
|
coll = cluster.bucket('default').default_collection()
|
content = {'foo': 50}
|
coll.upsert('test-doc', content)
|
res = coll.lookup_in('test-doc', [subdoc.get('foo')], LookupInOptions(timeout=timedelta(milliseconds=10000)))
|
print(res.content_as[int](0))
|
|
Running the snippet above results in:
couchbase.exceptions.InvalidArgumentException: InvalidArgumentException(<message=Expected timedelta instead of 10000000>)
|
Attachments
For Gerrit Dashboard: PYCBC-1514 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
195319,9 | PYCBC-1503: Add support for LookupIn and LookupIn from replica in FIT | master | transactions-fit-performer | Status: MERGED | +2 | +1 |
195351,2 | PYCBC-1514: Fix options parsing for lookup_in operations | master | couchbase-python-client | Status: MERGED | +2 | +1 |