Skip to content

Commit b550263

Browse files
committed
Fix python samples for SDK v6
1 parent 56911ea commit b550263

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[DEFAULT]
22
shoulddeletejob=true
3-
poolvmsize=small
3+
poolvmsize=STANDARD_D1_V2
44
poolvmcount=1

Python/Batch/sample2_pools_and_resourcefiles.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
shoulddeletecontainer=true
33
shoulddeletejob=true
44
shoulddeletepool=true
5-
poolvmsize=BASIC_A1
5+
poolvmsize=STANDARD_D1_V2
66
poolvmcount=1

Python/Batch/sample2_pools_and_resourcefiles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def execute_sample(global_config, sample_config):
169169
batch_account_key)
170170
batch_client = batch.BatchServiceClient(
171171
credentials,
172-
base_url=batch_service_url)
172+
batch_url=batch_service_url)
173173

174174
# Retry 5 times -- default is 3
175175
batch_client.config.retry_policy.retries = 5

Python/Batch/sample3_encrypted_resourcefiles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def execute_sample(global_config, sample_config):
324324
batch_account_key)
325325
batch_client = batch.BatchServiceClient(
326326
credentials,
327-
base_url=batch_service_url)
327+
batch_url=batch_service_url)
328328

329329
# Retry 5 times -- default is 3
330330
batch_client.config.retry_policy.retries = 5

0 commit comments

Comments
 (0)