Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the user guide for the big picture.

nidl.transforms.Identity

class nidl.transforms.Identity(p=None)[source]

Bases: Transform

Identity transformation.

It parses the input data (checking its type) and outputs the same data.

apply_transform(data_parsed, **kwargs)[source]
Parameters:
data_parsed: Any

Input data with type checked.

kwargs: dict

Additional keyword arguments. Ignored.

Returns:
data: Any

Same as input.