class_docstr: Class to override `disable` argument in case progress bars are globally disabled.
  
  Taken from https://github.com/tqdm/tqdm/issues/619#issuecomment-619639324.
class_docstr_tok: ["Class","to","override","`","disable","`","argument","in","case","progress","bars","are","globally","disabled",".","Taken","from","https",":","\/\/github.com\/tqdm\/tqdm\/issues\/619","#","issuecomment-619639324","."]
docstr: Fix for https://github.com/huggingface/huggingface_hub/issues/1603
docstr_tok: ["Fix","for","https",":","\/\/github.com\/huggingface\/huggingface_hub\/issues\/1603"]
code: def __delattr__(self, attr: str) -> None:
      """Fix for https://github.com/huggingface/huggingface_hub/issues/1603"""
      try:
          super().__delattr__(attr)
      except AttributeError:
          if attr != "_lock":
              raise
  
file_path: huggingface_hub/src/huggingface_hub/utils/tqdm.py
imports: import io
  import warnings
  from contextlib import contextmanager
  from pathlib import Path
  from typing import Iterator, Optional, Union
  from tqdm.auto import tqdm
  from ..constants import HF_HUB_DISABLE_PROGRESS_BARS
label_desc: Use image node_id 2 for calling the tqdm obj's underlying member method code with example usage: obj.__delattr__(attr) without return types