Skip to content

Commit 5af54a7

Browse files
authored
document container properties name (Azure#7008)
1 parent e6dc588 commit 5af54a7

File tree

1 file changed

+4
-0
lines changed
  • sdk/storage/azure-storage-blob/azure/storage/blob

1 file changed

+4
-0
lines changed

sdk/storage/azure-storage-blob/azure/storage/blob/models.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@ class ContainerProperties(DictMixin):
259259
Represents whether the container has a legal hold.
260260
:param dict metadata: A dict with name-value pairs to associate with the
261261
container as metadata.
262+
263+
Returned ``ContainerProperties`` instances expose these values through a
264+
dictionary interface, for example: ``container_props["last_modified"]``.
265+
Additionally, the container name is available as ``container_props["name"]``.
262266
"""
263267

264268
def __init__(self, **kwargs):

0 commit comments

Comments
 (0)