'Parse a result dictionary into a ``Lease``.
:param dict dictionary: API JSON result.
:return: Corresponding ``Lease``.'

def _parse_lease(self, dictionary):

    return Lease(dataset_id=UUID(dictionary[u'dataset_id']), node_uuid=UUID(dictionary[u'node_uuid']), expires=dictionary[u'expires'])
