Fix task.connect() dictionary to update the section (not override it) just like in API < 2.9

This commit is contained in:
allegroai 2020-08-08 12:53:54 +03:00
parent d56eb03381
commit 0704cf0c8e

View File

@ -351,7 +351,7 @@ class _Arguments(object):
if param_types:
param_types = dict((prefix+k, v) for k, v in param_types.items())
# this will only set the specific section
self._task.set_parameters(
self._task.update_parameters(
dictionary,
__parameters_prefix=prefix,
__parameters_descriptions=descriptions,