Hey, I am simply trying to append to an array using the Python SDK 3.0 . The following is my code.
cb = cluster.bucket('kikabucket1')
#cb.mutate_in('kristina1', [SD.upsert('beautiful', '20')])
cb.mutate_in('kristina', ["kika", SD.array_append("", "amazing", "breathtaking", "inspiring")])
This is the error log
> cb.mutate_in('kristina', ["kika", SD.array_append("", "amazing", "breathtaking", "inspiring")])
> File "/Users/kiluas/Desktop/kika/lib/python3.8/site-packages/couchbase_core/client.py", line 378, in mutate_in
> return super(Client, self).mutate_in(key, tuple(specs), **kwargs)
> couchbase.exceptions.InvalidArgumentException: <Expected tuple for spec, C Source=(src/oputil.c,784), OBJ='kika'>