IPWorks Cloud 2020 Python Edition

Questions / Feedback?

on_part_list Event

Fires once for each part returned when listing a multipart upload's parts.

Syntax

class BackblazeB2PartListEventParams(object):
  @property
  def part_number() -> int: ...
  @property
  def multipart_file_id() -> str: ...
  @property
  def size() -> int: ...
  @property
  def created_time() -> int: ...
  @property
  def sha1_hash() -> str: ...

# In class BackblazeB2:
@property
def on_part_list() -> Callable[[BackblazeB2PartListEventParams], None]: ...
@on_part_list.setter
def on_part_list(event_hook: Callable[[BackblazeB2PartListEventParams], None]) -> None: ...

Remarks

This event fires once for each part returned when list_parts is called.

PartNumber reflects the part's number.

MultipartFileId reflects the Id of the multipart file upload that the part is a part of.

Size reflects the size of the part, in bytes.

CreatedTime reflects the part's creation time (i.e., upload time), in milliseconds relative to the Unix epoch.

SHA1Hash reflects a hex-encoded SHA1 hash of the part's contents.

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