original_docstring: Parse resource from GitHub API response.
docstring: Parse resource from GitHub API response.
docstring_tokens: Parse resource from GitHub API response .
code: def from_response(cls, response: dict):
          """Parse resource from GitHub API response."""
          if cls._SCHEMA is None:
              raise NotImplementedError("No schema defined for entity {!r}".format(cls.__name__))
  
          if Configuration().validate_schemas:
              try:
                  cls._SCHEMA(response)  # pylint: disable=not-callable
              except Exception as exc:
                  _LOG.debug(dict2json(response))
                  cls._report_schema_errors(response, exc)
                  raise SchemaValidationError("Failed to validate schema for {!r}".format(cls.__name__)) from exc
  
          return cls.from_dict(response)
code_tokens: def from_response ( cls , response : dict ) : if cls . _SCHEMA is None : raise NotImplementedError ( "No schema defined for entity {!r}" . format ( cls . __name__ ) ) if Configuration ( ) . validate_schemas : try : cls . _SCHEMA ( response ) except Exception as exc : _LOG . debug ( dict2json ( response ) ) cls . _report_schema_errors ( response , exc ) raise SchemaValidationError ( "Failed to validate schema for {!r}" . format ( cls . __name__ ) ) from exc return cls . from_dict ( response )
short_docstring: Parse resource from GitHub API response.
short_docstring_tokens: Parse resource from GitHub API response .
comment: """Parse resource from GitHub API response."""$SEP$# pylint: disable=not-callable