def get_object_ring(self, policy_idx):
        return POLICIES.get_object_ring(policy_idx, self.swift_dir)
Get the ring object to use to handle a request based on its policy.
dataset/ETHPy150Open openstack/swift/swift/common/middleware/list_endpoints.py/ListEndpointsMiddleware.get_object_ring