@classmethod
def from_dict(cls, data):
    """
        Alternate constructor which deciphers raw DynamoDB request data before
        ultimately calling regular ``__init__`` method.

        See :py:meth:`__init__` for more insight.

        :param data: raw DynamoDB request data.

        :return: fully initialized :py:class:`Key` instance
        """
    return cls(data[u'AttributeName'], data[u'AttributeType'])
