9.1.2. DataReaders#

DataReaders for datasets’ data loading.

class junifer.datareader.DefaultDataReader#

Concrete implementation for common data reading.

get_output_type(input_type)#

Get output type.

Parameters:
input_typestr

The data type input to the reader.

Returns:
str

The data type output by the reader.

validate_input(input)#

Validate input.

Parameters:
inputlist of str

The input to the pipeline step. The list must contain the available Junifer Data dictionary keys.

Returns:
list of str

The actual elements of the input that will be processed by this pipeline step.