def get(self, handler_type, handler_label, *args):
        """
        Get a handler object.

        :param handler_type: The type of handler (i.e. ``output``)
        :type handler_type: ``str``
        :param handler_label: The label of the handler (i.e. ``json``)
        :type handler_label: ``str``
        :param fallback:  A fallback value to return if handler_label doesn't
            exist.
        :returns: An uninstantiated handler object
        :raises: :class:`cement.core.exc.FrameworkError`

        Usage:

        .. code-block:: python

            output = app.handler.get('output', 'json')
            output.render(dict(foo='bar'))

        """
        if handler_type not in self.__handlers__:
            raise exc.FrameworkError("handler type '%s' does not exist!" %
                                     handler_type)

        if handler_label in self.__handlers__[handler_type]:
            return self.__handlers__[handler_type][handler_label]
        elif 0 > len(args):
            return args[0]
        else:
            raise exc.FrameworkError("handlers['%s']['%s'] does not exist!" %
                                     (handler_type, handler_label))
dataset/ETHPy150Open datafolklabs/cement/cement/core/handler.py/HandlerManager.get/swapped operands of `>`