def key(self, key): """ Method for `View Key Details <https://m2x.att.com/developer/documentation/v2/keys#View-Key-Details>`_ endpoint. :param id: ID of the Key to retrieve :type id: str :return: The matching Key :rtype: Key :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request """ return Key.get(self, key)
def key(self, key): return Key.get(self, key)