diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py index e1f73cffbd5c..bea2171a1517 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py @@ -762,7 +762,7 @@ def list_blobs(self, name_starts_with=None, include=None, **kwargs): Specifies one or more additional datasets to include in the response. Options include: 'snapshots', 'metadata', 'uncommittedblobs', 'copy', 'deleted', 'deletedwithversions', 'tags', 'versions', 'immutabilitypolicy', 'legalhold'. - :paramtype include: list[str] or str + :type include: list[str] or str :keyword int timeout: The timeout parameter is expressed in seconds. :returns: An iterable (auto-paging) response of BlobProperties. @@ -831,7 +831,7 @@ def list_blob_names(self, **kwargs: Any) -> ItemPaged[str]: @distributed_trace def walk_blobs( self, name_starts_with=None, # type: Optional[str] - include=None, # type: Optional[Any] + include=None, # type: Optional[Union[List[str], str]] delimiter="/", # type: str **kwargs # type: Optional[Any] ): @@ -844,9 +844,11 @@ def walk_blobs( :param str name_starts_with: Filters the results to return only blobs whose names begin with the specified prefix. - :param list[str] include: + :param include: Specifies one or more additional datasets to include in the response. - Options include: 'snapshots', 'metadata', 'uncommittedblobs', 'copy', 'deleted'. + Options include: 'snapshots', 'metadata', 'uncommittedblobs', 'copy', 'deleted', 'deletedwithversions', + 'tags', 'versions', 'immutabilitypolicy', 'legalhold'. + :type include: list[str] or str :param str delimiter: When the request includes this parameter, the operation returns a BlobPrefix element in the response body that acts as a placeholder for all blobs whose diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py index 8a4f4eebf33b..ba540cae1592 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py @@ -617,8 +617,8 @@ def list_blobs(self, name_starts_with=None, include=None, **kwargs): :param include: Specifies one or more additional datasets to include in the response. Options include: 'snapshots', 'metadata', 'uncommittedblobs', 'copy', 'deleted', 'deletedwithversions', - 'tags', 'versions'. - :paramtype include: list[str] or str + 'tags', 'versions', 'immutabilitypolicy', 'legalhold'. + :type include: list[str] or str :keyword int timeout: The timeout parameter is expressed in seconds. :returns: An iterable (auto-paging) response of BlobProperties. @@ -690,7 +690,7 @@ def list_blob_names(self, **kwargs: Any) -> AsyncItemPaged[str]: @distributed_trace def walk_blobs( self, name_starts_with=None, # type: Optional[str] - include=None, # type: Optional[Any] + include=None, # type: Optional[Union[List[str], str]] delimiter="/", # type: str **kwargs # type: Optional[Any] ): @@ -703,9 +703,11 @@ def walk_blobs( :param str name_starts_with: Filters the results to return only blobs whose names begin with the specified prefix. - :param list[str] include: + :param include: Specifies one or more additional datasets to include in the response. - Options include: 'snapshots', 'metadata', 'uncommittedblobs', 'copy', 'deleted'. + Options include: 'snapshots', 'metadata', 'uncommittedblobs', 'copy', 'deleted', 'deletedwithversions', + 'tags', 'versions', 'immutabilitypolicy', 'legalhold'. + :type include: list[str] or str :param str delimiter: When the request includes this parameter, the operation returns a BlobPrefix element in the response body that acts as a placeholder for all blobs whose