()
| 338 | |
| 339 | |
| 340 | def get_progress_state() -> ProgressRegistry: |
| 341 | global global_progress_registry |
| 342 | if global_progress_registry is None: |
| 343 | from comfy_execution.graph import DynamicPrompt |
| 344 | |
| 345 | global_progress_registry = ProgressRegistry( |
| 346 | prompt_id="", dynprompt=DynamicPrompt({}) |
| 347 | ) |
| 348 | return global_progress_registry |
no test coverage detected