Sometimes one wants to retrieve a resource but default to the specification of the document it is contained within.
In other words, to call Resource.from_contents(..., default_specification=enclosing_specification) from within a retrieval function.
This isn't completely trivial to implement however, because users can call .get_or_retrieve(uri) directly, meaning the argument would have to exist there too. Additionally, resources can be root resources of course, so enclosing_specification would anyways potentially be None for such cases.