IPWorks S3 2020 Python Edition

Questions / Feedback?

on_part_list Event

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

Syntax

class S3ClientPartListEventParams(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 S3Client:
@property
def on_part_list() -> Callable[[S3ClientPartListEventParams], None]: ...
@on_part_list.setter
def on_part_list(event_hook: Callable[[S3ClientPartListEventParams], 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.

Note: This event is not applicable when service_provider is spGoogleStorage (2); Google Cloud Storage does not support multipart uploads.

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