MCPcopy Index your code
hub / github.com/AUTOMATIC1111/stable-diffusion-webui / process_batch

Method process_batch

modules/scripts.py:860–866  ·  view source on GitHub ↗
(self, p, **kwargs)

Source from the content-addressed store, hash-verified

858 errors.report(f"Error running after_extra_networks_activate: {script.filename}", exc_info=True)
859
860 def process_batch(self, p, **kwargs):
861 for script in self.ordered_scripts('process_batch'):
862 try:
863 script_args = p.script_args[script.args_from:script.args_to]
864 script.process_batch(p, *script_args, **kwargs)
865 except Exception:
866 errors.report(f"Error running process_batch: {script.filename}", exc_info=True)
867
868 def postprocess(self, p, processed):
869 for script in self.ordered_scripts('postprocess'):

Callers

nothing calls this directly

Calls 2

ordered_scriptsMethod · 0.95
process_batchMethod · 0.45

Tested by

no test coverage detected