def _merge_map(key, values, partial):
 proto = file_service_pb.KeyValues()
 proto.set_key(key)
 proto.value_list().extend(values)
 proto.set_partial(partial)
 (yield proto.Encode())

def _merge_map ( key , values , partial ) : proto = file_service_pb . KeyValues ( ) proto . set_key ( key ) proto . value_list ( ) . extend ( values ) proto . set_partial ( partial ) ( yield proto . Encode ( ) )
a map function used in merge phase .