Details
-
Bug
-
Resolution: Fixed
-
Test Blocker
-
3.0.3
-
1
-
SDK28: Txn Loop/Rb,PfQueryColl, SDK32: QueryCollections, SDK30: Connect,Txns
Description
https://github.com/couchbase/couchbase-python-client/blob/master/couchbase/cluster.py#L194
for k in self.VALID_OPTS: |
v = args.get(k, None)
|
if v: |
if k == 'adhoc': |
query.adhoc = v
|
If I want 'adhoc' to be False, then v = False and adhoc never gets set. The default value for 'adhoc' is set to True: https://github.com/couchbase/couchbase-python-client/blob/master/couchbase_core/n1ql.py#L124
This will also affect any of the parameters that are bools or ints, and maybe others as well. Not just adhoc