(call_index)
| 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) |
no test coverage detected