@classmethod
def from_raw_data(cls, data):
    """
        Returns an instance of this class
        from the raw data

        :param data: A serialized DynamoDB object
        """
    if data is None:
        raise ValueError('Received no data to construct object')
    attributes = {}
    for name, value in data.items():
        attr_name = cls._dynamo_to_python_attr(name)
        attr = cls.get_attributes().get(attr_name, None)
        if attr:
            attributes[attr_name] = attr.deserialize(attr.get_value(value))
    return cls(_user_instantiated=False, **attributes)
