def help(self):
        """Return HTML help from a requested object (application, collection, document, method)"""
        # FIXME this should check read/execute permissions on all objects
        if 'method' in self.reference.kind:
            instance, method = self.reference.value
            return 'text/html', self.suite.docstring_processor(method_help(instance, method))
        else:
            value = self.reference.value
            return 'text/html', self.suite.docstring_processor(value.help())
dataset/ETHPy150Open JeffHeard/sondra/sondra/api.py/APIRequest.help/original