code: def add_inputs_to_object(obj, values):
      
      for item in obj.inputs:
          if hasattr(obj, item):
              # print(item)
              setattr(obj, item, values[item])
docs: A generic function to load object parameters based on a dictionary list.
      :param obj: Object
      :param values: Dictionary
      :return: