Skip to content

Commit

Permalink
Update CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
bgklein committed Jun 15, 2020
1 parent 1a5dcad commit 5cbf6d9
Show file tree
Hide file tree
Showing 6 changed files with 6,485 additions and 4,294 deletions.
2 changes: 1 addition & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
SDK Release History
===================

8.0.0 (2020-04-??)
8.0.0 (2020-06-15)
------------------

* Update to match latest Python SDK taking associated breaking changes.
Expand Down
6 changes: 1 addition & 5 deletions azext/batch/_file_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,11 +344,7 @@ def resolve_resource_file(self, resource_file):
blobs = self.list_container_contents(resource_file.source, container, storage_client)
return convert_blobs_to_resource_files(blobs, resource_file)
if resource_file.source.container_url:
# Input data storage in arbitrary container
uri = urlsplit(resource_file.source.container_url)
container = uri.pathname.split('/')[1]
blobs = self.list_container_contents(resource_file.source, container, storage_client)
return convert_blobs_to_resource_files(blobs, resource_file)
return resource_file.source.container_url
if resource_file.source.url:
# TODO: Input data from an arbitrary HTTP GET source
raise ValueError('Not implemented')
Expand Down
2 changes: 1 addition & 1 deletion batch-cli-extensions/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Release History
===============

6.0.0 (2020-04-??)
6.0.0 (2020-06-15)
------------------

* Update SDK dependency to get latest models and defaults
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
DEPENDENCIES = [
'msrestazure>=0.4.14,<1',
'azure-batch>=9.0,<10',
'azure-mgmt-batch>=7.0,<8',
'azure-mgmt-batch>=9.0,<10',
'azure-storage-blob>=1.1.0,<2',
'azure-mgmt-storage>=2.0,<3'
]
Expand Down
10,491 changes: 6,343 additions & 4,148 deletions tests/recordings/test_batch_extensions_live.yaml

Large diffs are not rendered by default.

Loading

0 comments on commit 5cbf6d9

Please sign in to comment.