次の方法で共有


BlobBlock Class

BlockBlob Block class.

Inheritance
azure.storage.blob._shared.models.DictMixin
BlobBlock

Constructor

BlobBlock(block_id: str, state: BlockState = BlockState.LATEST)

Parameters

Name Description
block_id
Required
str

Block id.

state

Block state. Possible values: BlockState.COMMITTED | BlockState.UNCOMMITTED

Default value: BlockState.LATEST

Methods

get
has_key
items
keys
update
values

get

get(key, default=None)

Parameters

Name Description
key
Required
default
Default value: None

has_key

has_key(k)

Parameters

Name Description
k
Required

items

items()

keys

keys()

update

update(*args, **kwargs)

values

values()

Attributes

block_id

Block id.

block_id: str

size

Block size.

size: int

state

Block state.

state: BlockState