File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 11# Changelog
22All notable changes to this project will be documented in this file.
33
4+ ## 2020-11-12
5+ ### Changed
6+ - Pass Watson Assistant system_settings to test workspaces
7+
48## 2020-04-10
59### Changed
610- validateWS.py is now moved to ` log_analytics ` folder.
Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ def func(args):
108108 counterexamples = []
109109 metadata = {}
110110 learning_opt_out = False
111+ system_settings = {}
111112
112113 if args .workspace_base_json is not None :
113114 with open (args .workspace_base_json , 'r' ) as f :
@@ -126,6 +127,8 @@ def func(args):
126127 metadata = workspace_json ['metadata' ]
127128 if 'learning_opt_out' in workspace_json :
128129 learning_opt_out = workspace_json ['learning_opt_out' ]
130+ if 'system_settings' in workspace_json :
131+ system_settings = workspace_json ['system_settings' ]
129132
130133 if args .intentfile is not None :
131134 # First, group utterances by INTENT_COLUMN. In each intent group,
@@ -189,7 +192,8 @@ def func(args):
189192 dialog_nodes = dialog_nodes ,
190193 counterexamples = counterexamples ,
191194 metadata = metadata ,
192- learning_opt_out = learning_opt_out )
195+ learning_opt_out = learning_opt_out ,
196+ system_settings = system_settings )
193197 try :
194198 #V2 API syntax
195199 resp = raw_resp .get_result ()
You can’t perform that action at this time.
0 commit comments