def list(self, sort_by=None):
        leases = self._get('/leases', 'leases')
        if sort_by:
            leases = sorted(leases, key=lambda l: l[sort_by])
        return leases
List all leases.
dataset/ETHPy150Open openstack/python-blazarclient/climateclient/v1/leases.py/LeaseClientManager.list