def get_via_uri(self, uri, request=None):
        prefix = get_script_prefix()
        chomped_uri = uri

        if prefix and chomped_uri.startswith(prefix):
            chomped_uri = chomped_uri[len(prefix)-1:]

        try:
            view, args, kwargs = resolve(chomped_uri)
        except Resolver404:
            raise NotFound("The URL provided '%s' was not a link to a valid resource." % uri)

        return self.obj_get(request=request, **self.remove_api_resource_names(kwargs))

    # Data preparation.
Call all extension drivers to extend L2P dictionary.
dataset/ETHPy150Open toastdriven/piecrust/piecrust/resources.py/Resource.get_via_uri--crossover with--dataset/ETHPy150Open openstack/group-based-policy/gbpservice/neutron/services/grouppolicy/extension_manager.py/ExtensionManager.extend_l2_policy_dict