def _from_any(any_pb):
 klass = _TYPE_URL_MAP[any_pb.type_url]
 return klass.FromString(any_pb.value)

def _from_any ( any_pb ) : klass = _TYPE_URL_MAP [ any_pb . type_url ] return klass . FromString ( any_pb . value )
convert an any protobuf into the actual class .