docstr: 设置是否在bar运行结束之后不关闭
  
  :param transient:
  :return:
docstr_tok: ["\u8bbe\u7f6e\u662f\u5426\u5728bar\u8fd0\u884c\u7ed3\u675f\u4e4b\u540e\u4e0d\u5173\u95ed",":","param","transient",":",":","return",":"]
code: def set_transient(self, transient: bool = True):
      """
      设置是否在bar运行结束之后不关闭
  
      :param transient:
      :return:
      """
      self.new_progess(transient=transient)
  
imports: import sys
  from typing import Any, Union, Optional
  from rich.progress import Progress, Console, GetTimeCallable, get_console, TaskID, Live, Text, ProgressSample
  from rich.progress import ProgressColumn, TimeRemainingColumn, BarColumn, TimeElapsedColumn, TextColumn
  from fastNLP.envs import get_global_rank
  from .utils import is_notebook
label_desc: Use image node_id 2 for calling the FRichProgress obj's underlying member method code with example usage: obj.set_transient(transient) without return types