def __init__(self, input_type): ''' Initialize with user defined input type ''' BaseType.__init__(self, input_type, "input_type")
def __init__(self, channel_type): ''' Initialize channel with specific type ''' BaseType.__init__(self, channel_type, "channel_type")