Skip to content

Commit 56911ea

Browse files
k0staamatthchr
authored andcommitted
Change of the name of the BatchServiceClient class parameter to the one consistent with the documentation. From base_url -> (#268)
`batch_url`. Wrong name caused the error at run time: ``` TypeError: __init__() got an unexpected keyword argument 'base_url' ```
1 parent 49b490e commit 56911ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/Batch/sample1_helloworld.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def execute_sample(global_config, sample_config):
105105

106106
batch_client = batch.BatchServiceClient(
107107
credentials,
108-
base_url=batch_service_url)
108+
batch_url=batch_service_url)
109109

110110
# Retry 5 times -- default is 3
111111
batch_client.config.retry_policy.retries = 5

0 commit comments

Comments
 (0)