code: def inflate(self):
          
          if not self._is_inflated:
              if self._is_inflating:
                  #  catch infinite recursion when attempting to inflate
                  #  an object that doesn't have enough data to inflate
                  msg = ("There is not enough data to inflate this object.  "
                         "Need either an href: {} or a {}: {}")
                  msg = msg.format(self._href, self.primary_key, self._data.get(self.primary_key))
                  raise exceptions.ClientError(msg)
  
              self._is_inflating = True
  
              try:
                  params = self.searchParameters if hasattr(self, 'searchParameters') else {}
                  # To keep the method same as the original request. The default is GET
                  self.load(self.client.request(self.method, self.url, **params))
              except Exception:
                  self.load(self._data)
  
              self._is_inflated = True
              self._is_inflating = False
          return self
docs: Load the resource from the server, if not already loaded.