code: def __init__(self, outputs: List[str]):
      self.outputs = outputs
      component.set_output_types(self, **{k: int for k in outputs})
  
imports: from typing import List
  from haystack.core.component import component
label_desc: Use image node_id 1 to create a new Repeat object  with example: obj = Repeat(outputs)