I want to use set_multi and supply CAS values (using the Python client), but could not figure out yet how or if it works.
For example, I tried something like:
items = ItemOptionDict() for k, v in mydict.items(): items.add(Item(key=k, value=v['value']), cas=v['cas']) write_res = couchbase_connection.set_multi(items)
I found a related discussion thread here, but it appears to be not up-to-date.
Many thanks for your help!