We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adad3bc commit 337e470Copy full SHA for 337e470
referencing/_core.py
@@ -228,8 +228,9 @@ class Registry(Mapping[URI, Resource[D]]):
228
The ``retrieve`` argument can be used to configure retrieval of resources
229
dynamically, either over the network, from a database, or the like.
230
Pass it a callable which will be called if any URI not present in the
231
- registry is accessed. It must either return a `Resource` or else raise an
232
- exception indicating that the resource is not retrievable.
+ registry is accessed. It must either return a `Resource` or else raise a
+ `NoSuchResource` exception indicating that the resource does not exist
233
+ even according to the retrieval logic.
234
"""
235
236
_resources: PMap[URI, Resource[D]] = field(
0 commit comments