Skip to content

Commit ea910ee

Browse files
committed
Add the raised exception to the docstring.
Despite all the type checkers and linters enabled, none actually remind me to do this, le sigh.
1 parent ad7e614 commit ea910ee

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

referencing/_core.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,13 @@ class Resolver(Generic[D]):
220220
def lookup(self, ref: URI) -> Resolved[D]:
221221
"""
222222
Resolve the given reference to the resource it points to.
223+
224+
225+
Raises:
226+
227+
`Unresolvable`
228+
229+
if the reference isn't resolvable
223230
"""
224231
uri, fragment = urldefrag(urljoin(self._base_uri, ref))
225232
try:

0 commit comments

Comments
 (0)