code: def href(self):
          
          url = self.session.base_url + str(self.path)
          if self.path.is_collection and not self.path.is_root:
              return url + 's'
          return url
docs: Return URL of the resource
  
          :rtype: str