MCPcopy Index your code
hub / github.com/vladmandic/sdnext / postprocess_batch_list

Method postprocess_batch_list

modules/scripts_manager.py:732–742  ·  view source on GitHub ↗
(self, p: StableDiffusionProcessing, pp: PostprocessBatchListArgs, **kwargs)

Source from the content-addressed store, hash-verified

730 s.report()
731
732 def postprocess_batch_list(self, p: StableDiffusionProcessing, pp: PostprocessBatchListArgs, **kwargs):
733 s = ScriptSummary('postprocess-batch-list')
734 for script in self.alwayson_scripts:
735 try:
736 if hasattr(script, 'args_to') and hasattr(script, 'args_from') and (script.args_to > 0) and (script.args_to >= script.args_from):
737 args = p.per_script_args.get(script.title(), p.script_args[script.args_from:script.args_to])
738 script.postprocess_batch_list(p, pp, *args, **kwargs)
739 except Exception as e:
740 errors.display(e, f'Running script before postprocess batch list: {script.filename}')
741 s.record(script.title())
742 s.report()
743
744 def postprocess_image(self, p: StableDiffusionProcessing, pp: PostprocessImageArgs):
745 s = ScriptSummary('postprocess-image')

Callers

nothing calls this directly

Calls 7

recordMethod · 0.95
reportMethod · 0.95
ScriptSummaryClass · 0.85
getMethod · 0.45
titleMethod · 0.45
displayMethod · 0.45

Tested by

no test coverage detected