Scratch that.

I realized that using the has_field method I can check whether the
field was initialized, which is equivalent to None.

Jon

On May 25, 4:46 pm, multijon <multi...@gmail.com> wrote:
> Hi,
>
> I'm starting to use Protocol Buffers as a replacement for a
> proprietary data serialization solution using Python, and was
> wondering whether there is a way of providing a NULL (or a Python
> 'None') default value to a field.
>
> Thanks,
>             Jon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to