nadia.array module

Functionalities related to building schemas for array type.

class nadia.array.ArrayBuilder(builder_provider)

Bases: nadia.common.Builder

Schema builder for array datatype.

build_schema(spec, **kwargs)

Build Marshmallow schema for array datatype.

Parameters:spec (dict) – specification of array for which Schema should be build.
Returns:a List field constructed such that its properties correspond to the ones defined in spec.
Return type:marshmallow.fields.List