class _FakeComponentSpec(base_component.ComponentSpec): COMPONENT_NAME = 'fake_component' PARAMETERS = {} INPUTS = {'input': base_component.ChannelParameter(type_name='InputPath')} OUTPUTS = { 'output': base_component.ChannelParameter(type_name='OutputPath') }
class _FakeComponentSpec(base_component.ComponentSpec): COMPONENT_NAME = 'component' PARAMETERS = {} INPUTS = { 'input': base_component.ChannelParameter(type_name='type_a'), } OUTPUTS = {'output': base_component.ChannelParameter(type_name='type_b')}
class _FakeComponentSpecD(base_component.ComponentSpec): PARAMETERS = {} INPUTS = { 'b': base_component.ChannelParameter(type_name='b'), 'c': base_component.ChannelParameter(type_name='c'), } OUTPUTS = {'output': base_component.ChannelParameter(type_name='d')}
class _FakeComponentSpecC(base_component.ComponentSpec): COMPONENT_NAME = 'component_c' PARAMETERS = {} INPUTS = { 'a': base_component.ChannelParameter(type_name='a'), 'b': base_component.ChannelParameter(type_name='b') } OUTPUTS = {'output': base_component.ChannelParameter(type_name='c')}
class _FakeComponentSpecB(base_component.ComponentSpec): PARAMETERS = {} INPUTS = {'a': base_component.ChannelParameter(type_name='a')} OUTPUTS = {'output': base_component.ChannelParameter(type_name='b')}