Shear.validate_data

classmethod Shear.validate_data(data)[source]

Validate the data against the object’s data schema.

The data is the raw data that can be used to construct an object of this type with the classmethod __from_data__.

Parameters:
dataAny

The data for validation.

Returns:
Any