我在python中使用协议缓冲区,我有内部Person消息
repeated uint64 id
Run Code Online (Sandbox Code Playgroud)
但是当我尝试分配时
person.id = [1, 32, 43432]
Run Code Online (Sandbox Code Playgroud)
我得到错误Assigment not allowed for repeated field "id" in protocol message object
如何分配给重复的字段?