code: def _parse_raw(self, raw):
          
          self.raw = raw
          if not raw:
              raise NotImplementedError("We cannot instantiate empty resources: %s" % raw)
          dict2resource(raw, self, self._options, self._session)
docs: Parse a raw dictionary to create a resource.
  
          :type raw: Dict[str, Any]