Fix Task.connect(object) should always return the same object instance

This commit is contained in:
allegroai 2021-02-08 13:23:16 +02:00
parent fbbae0b8bc
commit 5a76ffd460

View File

@ -2695,7 +2695,8 @@ class Task(_Task):
return an_object
else:
return self._connect_dictionary(a_dict, name)
self._connect_dictionary(a_dict, name)
return an_object
def _validate(self, check_output_dest_credentials=False):
if running_remotely():