on_upload_progress Event

Fired while the class is uploading files to the URL .

Syntax

class WebUploadUploadProgressEventParams(object):
  @property
  def percent_done() -> int: ...

# In class WebUpload:
@property
def on_upload_progress() -> Callable[[WebUploadUploadProgressEventParams], None]: ...
@on_upload_progress.setter
def on_upload_progress(event_hook: Callable[[WebUploadUploadProgressEventParams], None]) -> None: ...

Remarks

The PercentDone parameter shows the progress of the upload. The event is fired at least once at the beginning of the transfer, and once at the end of the transfer. The respective values for PercentDone are 0 and 100.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8307]