先占坑,后补充。
0、官方文档:tutorial doc
1、基本概念:
.Proto文件的相关介绍:message组成的介绍
2、python代码如何对一个repeated属性的字段赋值:
e.g:Person message中有一个repeated uint64 id
则python代码中若有person = rpc_client.Person(),则可使用person.id.extend([1,2,3])对其赋值
先占坑,后补充。
0、官方文档:tutorial doc
1、基本概念:
.Proto文件的相关介绍:message组成的介绍
2、python代码如何对一个repeated属性的字段赋值:
e.g:Person message中有一个repeated uint64 id
则python代码中若有person = rpc_client.Person(),则可使用person.id.extend([1,2,3])对其赋值