IPWorks Cloud 2020 Python Edition

Questions / Feedback?

on_prefix_list Event

Fires once for each common prefix returned when listing objects.

Syntax

class DigitalOceanPrefixListEventParams(object):
  @property
  def prefix() -> str: ...

# In class DigitalOcean:
@property
def on_prefix_list() -> Callable[[DigitalOceanPrefixListEventParams], None]: ...
@on_prefix_list.setter
def on_prefix_list(event_hook: Callable[[DigitalOceanPrefixListEventParams], None]) -> None: ...

Remarks

This event fires once for each common prefix returned when list_objects or list_versions is called when object_delimiter is non-empty. Refer to object_delimiter for more information.

Prefix is the common prefix.

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