9.1.2. DataReaders

DataReaders for datasets’ data loading.

pydantic model junifer.datareader.DefaultDataReader

Concrete implementation for common data reading.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Show JSON schema
{
   "title": "DefaultDataReader",
   "description": "Concrete implementation for common data reading.",
   "type": "object",
   "properties": {}
}

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.