From f24da4475e4ac743515e3a1f567a400f3e16a228 Mon Sep 17 00:00:00 2001 From: Xiaoxi Fu <49707495+xiafu-msft@users.noreply.github.com> Date: Mon, 11 Oct 2021 10:55:51 -0700 Subject: [PATCH] [Datalake][Blob]Fix class type and doc (#20805) https://github.com/Azure/azure-sdk-for-python/issues/20772 --- sdk/storage/azure-storage-blob/azure/storage/blob/_models.py | 2 ++ .../azure/storage/filedatalake/_models.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_models.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_models.py index 68c3b4d193d7..e13b085e6cb5 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_models.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_models.py @@ -319,6 +319,8 @@ class ContainerProperties(DictMixin): dictionary interface, for example: ``container_props["last_modified"]``. Additionally, the container name is available as ``container_props["name"]``. + :ivar str name: + Name of the container. :ivar ~datetime.datetime last_modified: A datetime object representing the last time the container was modified. :ivar str etag: diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_models.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_models.py index 6027c5f4e028..fab529e0aa91 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_models.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_models.py @@ -23,9 +23,11 @@ from ._shared.models import DictMixin -class FileSystemProperties(object): +class FileSystemProperties(DictMixin): """File System properties class. + :ivar str name: + Name of the filesystem. :ivar ~datetime.datetime last_modified: A datetime object representing the last time the file system was modified. :ivar str etag: