Skip to content

Identity Schema

Identity Schema¤

neojax.data.schemas.identity_schema.IdentitySchema ¤

Schema that simply returns the fields array without modifying it.

transform(bundle: typing.Union[ForwardRef(DataBundle), Inexact[Array, ...], Inexact[ndarray, ...]], /, reference_bundle: neojax.data.bundles.data_bundle.DataBundle | None = None) -> typing.Union[Inexact[Array, ...], Inexact[ndarray, ...]] ¤

Returns the fields array.

Parameters:

Name Type Description Default
bundle Union[ForwardRef(DataBundle), Inexact[Array, ...], Inexact[ndarray, ...]]

The input DataBundle.

required
reference_bundle DataBundle | None

Ignored.

None

Returns:

Type Description
Union[Inexact[Array, ...], Inexact[ndarray, ...]]

The fields array.