def change_current_worksheet(self, client, worksheet_uuid, verbose=False):
        """
        :param client: client of the target worksheet
        :param worksheet_uuid: UUID of worksheet to change to, or None to indicate home worksheet
        :param verbose: print feedback to self.stdout if True
        :return: None, or a UI action to open the worksheet if self.headless
        """
        if worksheet_uuid is None:
            worksheet_uuid = client.get_worksheet_uuid(None, '')

        if self.headless:
            return ui_actions.serialize([ui_actions.OpenWorksheet(worksheet_uuid)])

        self.manager.set_current_worksheet_uuid(client, worksheet_uuid)

        if verbose:
            worksheet_info = client.get_worksheet_info(worksheet_uuid, False)
            print >>self.stdout, 'Switched to worksheet %s.' % (self.worksheet_str(worksheet_info))
dataset/ETHPy150Open codalab/codalab-cli/codalab/lib/bundle_cli.py/BundleCLI.change_current_worksheet/original