Re: [protobuf] Re: Any type with python

2016-11-08 Thread 'Feng Xiao' via Protocol Buffers
Check out the unit test code: https://github.com/google/protobuf/blob/master/python/google/protobuf/internal/well_known_types_test.py#L674 ? On Tue, Nov 8, 2016 at 3:28 PM Ryan Morton wrote: > I found the source code that Jie linked to, however, it's not clear how to >

[protobuf] Re: Any type with python

2016-11-08 Thread Ryan Morton
I found the source code that Jie linked to, however, it's not clear how to initialize an Any object. Can someone provide an example of how best to do so? On Friday, February 26, 2016 at 11:44:52 AM UTC-5, Tim Richardson wrote: > > Is the Any type implemented in the python libraries yet? > > I