Skip to content

Commit dc7c5a1

Browse files
[Storage] API View Feedback For STG84 GA (#25085)
1 parent c561eb4 commit dc7c5a1

25 files changed

+47
-48
lines changed

sdk/storage/azure-storage-blob/CHANGELOG.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Release History
22

3-
## 12.13.0 (Unreleased)
4-
5-
### Features Added
3+
## 12.13.0 (2022-07-07)
64

75
### Bugs Fixed
86
- Stable release of features from 12.13.0b1.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def __init__(
185185
super(BlobClient, self).__init__(parsed_url, service='blob', credential=credential, **kwargs)
186186
self._client = AzureBlobStorage(self.url, base_url=self.url, pipeline=self._pipeline)
187187
self._client._config.version = get_api_version(kwargs) # pylint: disable=protected-access
188-
self.configure_encryption(kwargs)
188+
self._configure_encryption(kwargs)
189189

190190
def _format_url(self, hostname):
191191
container_name = self.container_name

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def __init__(
136136
super(BlobServiceClient, self).__init__(parsed_url, service='blob', credential=credential, **kwargs)
137137
self._client = AzureBlobStorage(self.url, base_url=self.url, pipeline=self._pipeline)
138138
self._client._config.version = get_api_version(kwargs) # pylint: disable=protected-access
139-
self.configure_encryption(kwargs)
139+
self._configure_encryption(kwargs)
140140

141141
def _format_url(self, hostname):
142142
"""Format the endpoint URL according to the current location

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def __init__(
155155
super(ContainerClient, self).__init__(parsed_url, service='blob', credential=credential, **kwargs)
156156
self._client = AzureBlobStorage(self.url, base_url=self.url, pipeline=self._pipeline)
157157
self._client._config.version = get_api_version(kwargs) # pylint: disable=protected-access
158-
self.configure_encryption(kwargs)
158+
self._configure_encryption(kwargs)
159159

160160
def _format_url(self, hostname):
161161
container_name = self.container_name

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _validate_key_encryption_key_wrap(kek):
5555

5656

5757
class StorageEncryptionMixin(object):
58-
def configure_encryption(self, kwargs):
58+
def _configure_encryption(self, kwargs):
5959
self.require_encryption = kwargs.get("require_encryption", False)
6060
self.encryption_version = kwargs.get("encryption_version", "1.0")
6161
self.key_encryption_key = kwargs.get("key_encryption_key")

sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_client_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def __init__(
131131
**kwargs)
132132
self._client = AzureBlobStorage(self.url, base_url=self.url, pipeline=self._pipeline)
133133
self._client._config.version = get_api_version(kwargs) # pylint: disable=protected-access
134-
self.configure_encryption(kwargs)
134+
self._configure_encryption(kwargs)
135135

136136
@distributed_trace_async
137137
async def get_account_information(self, **kwargs): # type: ignore

sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_service_client_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def __init__(
125125
**kwargs)
126126
self._client = AzureBlobStorage(self.url, base_url=self.url, pipeline=self._pipeline)
127127
self._client._config.version = get_api_version(kwargs) # pylint: disable=protected-access
128-
self.configure_encryption(kwargs)
128+
self._configure_encryption(kwargs)
129129

130130
@distributed_trace_async
131131
async def get_user_delegation_key(self, key_start_time, # type: datetime

sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def __init__(
121121
**kwargs)
122122
self._client = AzureBlobStorage(self.url, base_url=self.url, pipeline=self._pipeline)
123123
self._client._config.version = get_api_version(kwargs) # pylint: disable=protected-access
124-
self.configure_encryption(kwargs)
124+
self._configure_encryption(kwargs)
125125

126126
@distributed_trace_async
127127
async def create_container(self, metadata=None, public_access=None, **kwargs):

sdk/storage/azure-storage-file-datalake/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Release History
22

3-
## 12.8.0 (Unreleased)
3+
## 12.8.0 (2022-07-07)
44

55
### Features Added
66
- Stable release of features from 12.8.0b1.
7+
- Removed support for `expiry_options` from file `create` APIs. With this change, `expires_on` now covers all functionality `expiry_options` offered.
78

89
## 12.8.0b1 (2022-06-15)
910

sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_directory_client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def create_directory(self, metadata=None, # type: Optional[Dict[str, str]]
194194
return self._create('directory', metadata=metadata, **kwargs)
195195

196196
def delete_directory(self, **kwargs):
197-
# type: (...) -> Dict[str, Union[str, datetime]]
197+
# type: (...) -> None
198198
"""
199199
Marks the specified directory for deletion.
200200
@@ -221,8 +221,7 @@ def delete_directory(self, **kwargs):
221221
The match condition to use upon the etag.
222222
:keyword int timeout:
223223
The timeout parameter is expressed in seconds.
224-
:return: A dictionary of response headers.
225-
:rtype: Dict[str, Union[str, datetime]]
224+
:return: None
226225
227226
.. admonition:: Example:
228227

0 commit comments

Comments
 (0)