IPWorks Cloud 2020 Python Edition

Questions / Feedback?

on_part_list Event

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

Syntax

class LinodePartListEventParams(object):
  @property
  def part_number() -> int: ...
  @property
  def object_name() -> str: ...
  @property
  def last_modified() -> str: ...
  @property
  def size() -> int: ...
  @property
  def e_tag() -> str: ...
  @property
  def owner_id() -> str: ...
  @property
  def owner_name() -> str: ...

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

Remarks

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

PartNumber reflects the part's number.

ObjectName reflects the name of the object the multipart upload is for.

LastModified reflects the last modified time of the part.

Size reflects the size, in bytes, of the part.

ETag reflects the part's ETag of the part.

OwnerId and OwnerName reflect the Id and display name of the part's owner, respectively.

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