Skip to content

Commit

Permalink
Merge pull request #52 from v-jaswel/patch-3
Browse files Browse the repository at this point in the history
Update qna_maker_samples.py
  • Loading branch information
v-jaswel authored Dec 3, 2019
2 parents a8cd58b + b6ec2db commit 6265d7a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions samples/knowledge/qna_maker_samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,4 @@ def _monitor_operation(client, operation):
client.knowledgebase.delete(kb_id=kb_id)
print("KB Deleted.")


if __name__ == "__main__":
import sys
import os.path
sys.path.append(os.path.abspath(os.path.join(__file__, "..", "..")))
from tools import execute_samples
execute_samples(globals(), SUBSCRIPTION_KEY)
knowledge_based_crud_sample(SUBSCRIPTION_KEY_ENV_NAME)

0 comments on commit 6265d7a

Please sign in to comment.