def ex_get_location_by_id(self, id):
        location = None
        if id is not None:
            location = self.list_locations(ex_id=id)[0]
        return location
Get location by ID.
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py/DimensionDataNodeDriver.ex_get_location_by_id