Closed busunkim96 closed 4 years ago
What I think is going on is that the marshalling is getting confused: it thinks the list of Values is itself a singular listvalue, and trying to set a repeated field to a single element generates an error.
Workaround is to append elements individually:
row = Row()
values = [struct_pb2.Value(string_value="hello")]
for v in values:
row.values.append(v)
Converting to a docs
issue to document in the proto-plus docs how to hold struct.Value
How do you set 'values' for the message below?
Things I've tried: