@rpc()
    def inspect(self):
        """
        Returns a description of all available rpc methods of this service
        """
        methods = []
        for interface in list(self.container.iter_interfaces()):
            for name, func in six.iteritems(interface.methods):
                methods.append({
                    'name': '%s.%s' % (interface.name, name),
                    'version': str(interface.version),
                    'params': list(func.args.args),
                    'help': textwrap.dedent(func.__doc__ or '').strip(),
                })
        return {
            'methods': methods,
        }
dataset/ETHPy150Open deliveryhero/lymph/lymph/core/interfaces.py/DefaultInterface.inspect/original