Skip to content

Commit ce5843e

Browse files
authored
Matched variables names
1 parent 16ef5eb commit ce5843e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/search/image_search_samples.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from azure.cognitiveservices.search.imagesearch.models import ImageType, ImageAspect, ImageInsightModule
33
from msrest.authentication import CognitiveServicesCredentials
44

5-
SUBSCRIPTION_KEY_ENV_NAME = "IMAGESEARCH_SUBSCRIPTION_KEY"
5+
SUBSCRIPTION_KEY = "IMAGESEARCH_SUBSCRIPTION_KEY"
66

77

88
def image_search(subscription_key):
@@ -242,4 +242,4 @@ def image_detail(subscription_key):
242242
import sys, os.path
243243
sys.path.append(os.path.abspath(os.path.join(__file__, "..", "..", "..")))
244244
from samples.tools import execute_samples
245-
execute_samples(globals(), SUBSCRIPTION_KEY_ENV_NAME)
245+
execute_samples(globals(), SUBSCRIPTION_KEY)

0 commit comments

Comments
 (0)