async def get_new_table(self) -> List[Tuple[(int, int)]]:
    cursor = (await self.db.execute('SELECT node_id, bucket from peer_new_table'))
    entries = (await cursor.fetchall())
    (await cursor.close())
    return [(node_id, bucket) for (node_id, bucket) in entries]
async def get_new_table(self) -> List[Tuple[(int, int)]]:
    cursor = (await self.db.execute('SELECT node_id, bucket from peer_new_table'))
    entries = (await cursor.fetchall())
    (await cursor.close())
    return [(node_id, bucket) for (node_id, bucket) in entries]