File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
All notable changes to this project will be documented in this file.
3
3
4
+ ## 2020-11-12
5
+ ### Changed
6
+ - Pass Watson Assistant system_settings to test workspaces
7
+
4
8
## 2020-04-10
5
9
### Changed
6
10
- 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):
108
108
counterexamples = []
109
109
metadata = {}
110
110
learning_opt_out = False
111
+ system_settings = {}
111
112
112
113
if args .workspace_base_json is not None :
113
114
with open (args .workspace_base_json , 'r' ) as f :
@@ -126,6 +127,8 @@ def func(args):
126
127
metadata = workspace_json ['metadata' ]
127
128
if 'learning_opt_out' in workspace_json :
128
129
learning_opt_out = workspace_json ['learning_opt_out' ]
130
+ if 'system_settings' in workspace_json :
131
+ system_settings = workspace_json ['system_settings' ]
129
132
130
133
if args .intentfile is not None :
131
134
# First, group utterances by INTENT_COLUMN. In each intent group,
@@ -189,7 +192,8 @@ def func(args):
189
192
dialog_nodes = dialog_nodes ,
190
193
counterexamples = counterexamples ,
191
194
metadata = metadata ,
192
- learning_opt_out = learning_opt_out )
195
+ learning_opt_out = learning_opt_out ,
196
+ system_settings = system_settings )
193
197
try :
194
198
#V2 API syntax
195
199
resp = raw_resp .get_result ()
You can’t perform that action at this time.
0 commit comments