code: def resolving(self, ref):
          
  
          url, resolved = self.resolve(ref)
          self.push_scope(url)
          try:
              yield resolved
          finally:
              self.pop_scope()
docs: Resolve the given ``ref`` and enter its resolution scope.
  
          Exits the scope on exit of this context manager.
  
          Arguments:
  
              ref (str):
  
                  The reference to resolve