Skip to content

Commit

Permalink
fix set result
Browse files Browse the repository at this point in the history
  • Loading branch information
wguanicedew committed Jun 23, 2024
1 parent f068d23 commit 186ba85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/lib/idds/iworkflow/asyncresult.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@ def set_result(self, name=None, args=None, key=None, value=None, verbose=False):

name_key = key
if name_key is not None:
self._name_results.set[name_key] = value
self._name_results[name_key] = value
else:
key = get_unique_id_for_dict(args)

if name is not None:
name_key = '%s:%s' % (name, key)
self._name_results[name_key] = value
else:
self._results.get[key] = value
self._results[key] = value
if verbose:
logging.info("set_result: name key %s, args key %s, value: %s" % (name_key, key, value))

Expand Down

0 comments on commit 186ba85

Please sign in to comment.