MCPcopy Create free account
hub / github.com/Comfy-Org/ComfyUI / pre_execute_cb

Function pre_execute_cb

execution.py:537–539  ·  view source on GitHub ↗
(call_index)

Source from the content-addressed store, hash-verified

535 else:
536 return block
537 def pre_execute_cb(call_index):
538 # TODO - How to handle this with async functions without contextvars (which requires Python 3.12)?
539 GraphBuilder.set_default_prefix(unique_id, call_index, 0)
540
541 try:
542 output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)

Callers 1

process_inputsFunction · 0.85

Calls 1

set_default_prefixMethod · 0.80

Tested by

no test coverage detected