• Leon Barrett's avatar
    Fix assignment between Python protobuf Structs (#6377) · de5d071f
    Leon Barrett authored
    Currently, if you access a ListValue from a Struct and attempted to
    assign it to another Struct, you would get an exception:
    
       > s1 = spb.Struct()
       > s1['a'] = [1]
       > s2 = spb.Struct()
       > s2['a'] = s1['a']
       ValueError: Unexpected type
    
    This fixes that case.
    de5d071f
Name
Last commit
Last update
..
protobuf Loading commit data...
__init__.py Loading commit data...