IPWorks Cloud 2020 Python Edition

Questions / Feedback?

on_block_list Event

Fires once for each block returned when listing blocks.

Syntax

class AzureBlobBlockListEventParams(object):
  @property
  def id() -> str: ...
  @property
  def block_type() -> int: ...
  @property
  def size() -> int: ...

# In class AzureBlob:
@property
def on_block_list() -> Callable[[AzureBlobBlockListEventParams], None]: ...
@on_block_list.setter
def on_block_list(event_hook: Callable[[AzureBlobBlockListEventParams], None]) -> None: ...

Remarks

This event fires once for each block returned when list_blocks is called.

Id is the Id of the block.

BlockType reflects the block's type; possible values are:

  • abktCommitted (0)
  • abktUncommitted (1)

Size reflects the size of the block, in bytes.

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