Skip to content

Commit 68a26b8

Browse files
committed
Remove keyword argument name
1 parent c26516c commit 68a26b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts/python-tutorial-od.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ prediction_resource_id = "<your prediction resource id>"
5252
publish_iteration_name = "detectModel"
5353

5454
credentials = ApiKeyCredentials(in_headers={"Training-key": training_key})
55-
trainer = CustomVisionTrainingClient(endpoint=ENDPOINT, credentials)
55+
trainer = CustomVisionTrainingClient(ENDPOINT, credentials)
5656

5757
# Find the object detection domain
5858
obj_detection_domain = next(domain for domain in trainer.get_domains() if domain.type == "ObjectDetection" and domain.name == "General")

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts/python-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ prediction_resource_id = "<your prediction resource id>"
5050
publish_iteration_name = "classifyModel"
5151

5252
credentials = ApiKeyCredentials(in_headers={"Training-key": training_key})
53-
trainer = CustomVisionTrainingClient(endpoint=ENDPOINT, credentials)
53+
trainer = CustomVisionTrainingClient(ENDPOINT, credentials)
5454

5555
# Create a new project
5656
print ("Creating project...")

0 commit comments

Comments
 (0)