I am using protocol buffers in python and I have a Person message
Person
repeated uint64 id
but when I try to assign a value to it like:<
For repeated composite types this is what worked for me.
del person.things[:] person.things.extend([thing1, thing2, ..])
taken from these comments How to assign to repeated field? How to assign to repeated field?