def __init__(self): MapperBase.__init__(self) self.set_inputformat(KeyValueInput)
def __init__(self): MapperBase.__init__(self) # use KeyValueInput instead of the default TextLineInput self.set_inputformat(KeyValueInput)