# glanceclient.common.progressbar module

class glanceclient.common.progressbar.VerboseFileWrapper(wrapped, totalsize)

  Bases: `_ProgressBarBase`

  A file wrapper with a progress bar.

  The file wrapper shows and advances a progress bar whenever the wrapped file’s read method is called.

  read(*args, **kwargs)

class glanceclient.common.progressbar.VerboseIteratorWrapper(wrapped, totalsize)

  Bases: `_ProgressBarBase`

  An iterator wrapper with a progress bar.

  The iterator wrapper shows and advances a progress bar whenever the wrapped data is consumed from the iterator.

  Note:

    Use only with iterator that yield strings.

  next()

this page last updated: 2026-02-27 17:10:21

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug