MCPcopy Create free account
hub / github.com/SipherAGI/sd-webui-agent-scheduler / add_enqueue_row

Method add_enqueue_row

scripts/task_scheduler.py:98–106  ·  view source on GitHub ↗
(elem_id)

Source from the content-addressed store, hash-verified

96 toprow_id = "txt2img_toprow" if self.is_txt2img else "img2img_toprow"
97
98 def add_enqueue_row(elem_id):
99 parent = component.parent
100 while parent is not None:
101 if parent.elem_id == elem_id:
102 self.add_enqueue_button()
103 component.parent.children.pop()
104 parent.add(self.enqueue_row)
105 break
106 parent = parent.parent
107
108 if component.elem_id == generate_id:
109 self.generate_button = component

Callers

nothing calls this directly

Calls 1

add_enqueue_buttonMethod · 0.95

Tested by

no test coverage detected