Skip to content

Commit f8abca7

Browse files
authored
fix local job run (Azure#29225)
* fix * better
1 parent 7e3fdec commit f8abca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/ml/azure-ai-ml/azure/ai/ml/operations/_local_job_invoker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def get_execution_service_response(
146146
(url, encodedBody) = local.endpoint.split(EXECUTION_SERVICE_URL_KEY)
147147
body = urllib.parse.unquote_plus(encodedBody)
148148
body = json.loads(body)
149-
response = requests_pipeline.post(url=url, json=body, headers={"Authorization": "Bearer " + token})
149+
response = requests_pipeline.post(url, json=body, headers={"Authorization": "Bearer " + token})
150150
response.raise_for_status()
151151
return (response.content, body.get("SnapshotId", None))
152152
except AzureError as err:

0 commit comments

Comments
 (0)