def setup_client(self):
        if 'skiptrash' in self.args:
            use_trash = self.args.usetrash and not self.args.skiptrash
        else:
            use_trash = self.args.usetrash
        self.client = HAClient(self.namenodes, use_trash, self.user, self.use_sasl, self.configs['hdfs_namenode_principal'])
dataset/ETHPy150Open spotify/snakebite/snakebite/commandlineparser.py/CommandLineParser.setup_client/original