We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 867fb35 + 1a60dae commit 6709e9bCopy full SHA for 6709e9b
1 file changed
watson_developer_cloud/watson_service.py
@@ -227,6 +227,12 @@ def _convert_model(val):
227
return val._to_dict()
228
return val
229
230
+ @staticmethod
231
+ def _convert_list(val):
232
+ if isinstance(val, list):
233
+ return ",".join(val)
234
+ return val
235
+
236
@staticmethod
237
def _encode_path_vars(*args):
238
return (requests.utils.quote(x, safe='') for x in args)
0 commit comments