def get_sessionmaker(self, use_slave=False):
        self._check_factory_started()
        if use_slave:
            return self._factory._reader_maker
        else:
            return self._factory._writer_maker
Solve for the desired order of the list of nodes.
dataset/ETHPy150Open openstack/oslo.db/oslo_db/sqlalchemy/enginefacade.py/LegacyEngineFacade.get_sessionmaker--crossover with--dataset/ETHPy150Open nucleic/enaml/enaml/workbench/ui/menu_helper.py/solve_ordering