Skip to content

Commit 8bfa7b4

Browse files
committed
ADLSGen2: remove filesystem APIs and bump version
1 parent 612ac23 commit 8bfa7b4

File tree

2 files changed

+1
-29
lines changed

2 files changed

+1
-29
lines changed

azure-storage-blob/azure/storage/blob/baseblobservice.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3944,31 +3944,3 @@ def _swap_blob_endpoints(host_locations):
39443944
# Note that only the primary endpoint is supported for the DFS endpoint
39453945
return {LocationMode.PRIMARY: host_locations[LocationMode.PRIMARY].replace(_BLOB_SERVICE_PUBLIC_CLOUD_HOST,
39463946
_DFS_SERVICE_PUBLIC_CLOUD_HOST, 1)}
3947-
3948-
# TODO remove after service update, needed for testing against HN-enabled account for the moment
3949-
def _create_file_system(self, filesystem_name, timeout=None):
3950-
_validate_not_none('filesystem_name', filesystem_name)
3951-
request = HTTPRequest()
3952-
request.host_locations = self._swap_blob_endpoints(self._get_host_locations())
3953-
request.method = 'PUT'
3954-
request.path = _get_path(filesystem_name)
3955-
request.query = {
3956-
'resource': 'filesystem',
3957-
'timeout': _int_to_str(timeout),
3958-
}
3959-
self._perform_request(request)
3960-
return True
3961-
3962-
# TODO remove after service update, needed for testing against HN-enabled account for the moment
3963-
def _delete_file_system(self, filesystem_name, timeout=None):
3964-
_validate_not_none('filesystem_name', filesystem_name)
3965-
request = HTTPRequest()
3966-
request.host_locations = self._swap_blob_endpoints(self._get_host_locations())
3967-
request.method = 'DELETE'
3968-
request.path = _get_path(filesystem_name)
3969-
request.query = {
3970-
'resource': 'filesystem',
3971-
'timeout': _int_to_str(timeout),
3972-
}
3973-
self._perform_request(request)
3974-
return True

azure-storage-blob/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
setup(
4646
name='azure-storage-blob',
47-
version='2.1.0',
47+
version='2.2.0b1',
4848
description='Microsoft Azure Storage Blob Client Library for Python',
4949
long_description=open('README.rst', 'r').read(),
5050
license='MIT License',

0 commit comments

Comments
 (0)