def __init__(self, store_name, store_location_class, conf,
                 uri=None, image_id=None, store_specs=None):
        self.store_name = store_name
        self.image_id = image_id
        self.store_specs = store_specs or {}
        self.conf = conf
        self.store_location = store_location_class(self.store_specs, conf)
        if uri:
            self.store_location.parse_uri(uri)
Create a new Location object.
dataset/ETHPy150Open openstack/glance_store/glance_store/location.py/Location.__init__