Skip to content

Commit 1b215bc

Browse files
author
Aaron Hill
committed
updating variable name
1 parent bef822a commit 1b215bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/language/text_analytics_samples.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,5 +149,5 @@ def entity_recognition():
149149

150150
sys.path.append(os.path.abspath(os.path.join(__file__, "..", "..")))
151151
from tools import execute_samples
152-
153-
execute_samples(globals(), key)
152+
key_env_name = "TEXTANALYTICS_SUBSCRIPTION_KEY"
153+
execute_samples(globals(), key_env_name)

0 commit comments

Comments
 (0)