Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
1
-
SDK20: Pathfinding + Wrappers
Description
The TransactionQueryOptions missed a change in the Scope class, so now scoped transactional queries are broken. The error -
couchbase.exceptions.TransactionFailed: TransactionFailed{<message=AttributeError("'Scope' object has no attribute 'bucket'")>}
|
is simple to fix. However, lets instead come up with a way to test the transaction options/config classes better. We cannot just make use of all options and test the effects. Better we just insure the right thing is in the underlying c++ object. One way - have a function that returns a dict of the pycbc_core option. Then we know we are setting things correctly in the option classes.