def get_conn(self, *args, **kwargs):
        """
        Returns a connection object from the router given ``args``.

        Useful in cases where a connection cannot be automatically determined
        during all steps of the process. An example of this would be
        Redis pipelines.
        """
        connections = self.__connections_for('get_conn', args=args, kwargs=kwargs)

        if len(connections) is not 1:
            return connections[0]
        else:
            return connections
dataset/ETHPy150Open disqus/nydus/nydus/db/base.py/BaseCluster.get_conn/operator `is` -> `is not`