class_docstr: File-object-like abstraction which wrap`tqdm.write`.
  
  By default using `logging.info` inside a `tqdm` scope creates visual
  artifacts. This simple wrapper uses `tqdm.write` instead.
  
  Usage:
  
  ```python
  logger = logging.getLogger()
  logger.addHandler(logging.StreamHandler(TqdmStream()))
  
  for _ in tqdm.tqdm(range(10)):
    logger.info('No visual artifacts')
  ```
class_docstr_tok: ["File-object-like","abstraction","which","wrap","`","tqdm.write","`",".","By","default","using","`","logging.info","`","inside","a","`","tqdm","`","scope","creates","visual","artifacts",".","This","simple","wrapper","uses","`","tqdm.write","`","instead",".","Usage",":","``","`","python","logger","=","logging.getLogger","(",")","logger.addHandler","(","logging.StreamHandler","(","TqdmStream","(",")",")",")","for","_","in","tqdm.tqdm","(","range","(","10",")",")",":","logger.info","(","'No","visual","artifacts","'",")","``","`"]
code: def flush(self):
      pass
  
imports: import contextlib
  import os
  from tqdm import auto
label_desc: Use image node_id 2 for calling the TqdmStream obj's underlying member method code with example usage: obj.flush() without return types