# HG changeset patch # User Franz Glasner # Date 1639935457 -3600 # Node ID df0bb39617d67aca9b336010f9dcf51f12e7d1e5 # Parent 55b8aed70f7da53a7300d13f3353a02bf5fe5bdb Docs diff -r 55b8aed70f7d -r df0bb39617d6 configmix/config.py --- a/configmix/config.py Sun Dec 19 16:33:31 2021 +0100 +++ b/configmix/config.py Sun Dec 19 18:37:37 2021 +0100 @@ -696,6 +696,8 @@ `key` must be a configuration reference URI without any (namespace) prefixes and suffixes + :raise KeyError: If the reference is not found + """ return self.expand_ref_uri(key) @@ -720,6 +722,11 @@ return v def expand_ref_uri(self, uri): + """ + + :raises KeyError: If the reference URI is not found + + """ pu = urlsplit(uri) if pu.scheme or pu.netloc or pu.path or pu.query: raise ValueError("only fragment-only URIs are supported")