You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
import message_pb2 as pb
req = pb.ControlRequest()
req.start.SetInParent()
req.stop.SetInParent()
with open("out.bin", "wb") as f:
f.write(req.SerializeToString())
for a message like
There is no way (that I know of) to conveniently set the list field to be present. In the original protobuf you could
to ensure that the list would be included although optional and empty. But there seems that there is no way to do that with
protobuf3
. Or ?The text was updated successfully, but these errors were encountered: