Base.from_data

classmethod Base.from_data(data)

Construct an object of this type from the provided data.

Parameters

data (dict) – The data dictionary.

Returns

compas.data.Data – An object of the type of cls.