Get value from a custom component output( dict format )

Lets say i have a tfx component as

def Add(num1:Parameter[int], num2:Parameter[int])-> tfx.v1.dsl.components.OutputDict(Sum=int):
Sum= num1 + num2
return {

This will store the sum value in a folder structure as Add/Sum/Value/34
( lets say the sum is 34 )

How can i pass this integer value 34 to another component ??

Addition.outputs[‘Sum’] Dosent not give me desired value