This option controls the custom progress-reporting function.
callback value. Initially, this option is set to
callback value. If
None, then the built-in progress-reporting
function will be used. Otherwise, the
value specifies a function
to be called at each progress event. The function should take a single
p, which is a namedtuple with the following fields:
p.progressis a float in the range
0.0 .. 1.0;
p.statusis a string, one of
p.messageis a custom string describing the operation currently being performed.
The content on this page is licensed under the Creative Commons Attribution 4.0 License
(CC BY 4.0),
and code samples are licensed under the MIT License.