docstr: :param kwargs: find the first non-None value and return it.
docstr_tok: [":","param","kwargs",":","find","the","first","non-None","value","and","return","it","."]
code: def run(self, **kwargs):
      """
      :param kwargs: find the first non-None value and return it.
      """
      for value in kwargs.values():
          if value is not None:
              return {"value": value}
      return {}
  
file_path: haystack/haystack/testing/sample_components/merge_loop.py
imports: from typing import List, Any, Optional, Dict
  import sys
  from haystack.core.component import component
  from haystack.core.errors import DeserializationError
  from haystack.core.serialization import default_to_dict
label_desc: Use image node_id 4 for calling the MergeLoop obj's underlying member method code with example usage: obj.run() and returns: dict, dict