docs: def enrich(self, sample, ontologyClass, path, callback=None, output='application/json'):
          """ Class Enrichment Service from: /analyzer/enrichment
              Arguments:
              sample: A list of CURIEs for nodes whose attributes are to be tested for enrichment. For example, a list of genes.
              ontologyClass: CURIE for parent ontology class for the attribute to be tested. For example, GO biological process
              path: A path expression that connects sample nodes to attribute class nodes
              callback: Name of the JSONP callback ('fn' by default). Supplying this parameter or
              requesting a javascript media type will cause a JSONP response to be
              rendered.
              outputs:
                  application/json
          """
  
          kwargs = {'sample':sample, 'ontologyClass':ontologyClass, 'path':path, 'callback':callback}
          kwargs = {k:dumps(v) if type(v) is dict else v for k, v in kwargs.items()}
          param_rest = self._make_rest('path', **kwargs)
          url = self._basePath + ('/analyzer/enrichment').format(**kwargs)
          requests_params = {k:v for k, v in kwargs.items() if k != 'path'}
          return self._get('GET', url, requests_params, output)