class_docstr: Decreases the initial value in steps of 1 until the target value is reached.
  For no good reason it uses a self-loop to do so :)
class_docstr_tok: ["Decreases","the","initial","value","in","steps","of","1","until","the","target","value","is","reached",".","For","no","good","reason","it","uses","a","self-loop","to","do","so",":",")"]
code: def __init__(self, target: int = 0):
      self.target = target
  
imports: from haystack.core.component import component
  from haystack.core.component.types import Variadic
label_desc: Use image node_id 1 to create a new SelfLoop object  with example: obj = SelfLoop(target)