@classmethod
    def ensure_db_num(cls, db_num):
        try:
            return int(db_num)
        except __HOLE__:
            raise cls.InvalidDBNum()
dataset/ETHPy150Open disqus/nydus/nydus/db/routers/base.py/RoundRobinRouter.ensure_db_num