MCPcopy Create free account
hub / github.com/DenOfEquity/ersatzForge / postprocess_batch

Method postprocess_batch

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

Source from the content-addressed store, hash-verified

896 def postprocess_batch(self, p, images, **kwargs):
897 for script in self.ordered_scripts('postprocess_batch'):
898 try:
899 script_args = p.script_args[script.args_from:script.args_to]
900 script.postprocess_batch(p, *script_args, images=images, **kwargs)
901 except Exception:
902 errors.report(f"Error running postprocess_batch: {script.filename}", exc_info=True)
903
904 def postprocess_batch_list(self, p, pp: PostprocessBatchListArgs, **kwargs):
905 for script in self.ordered_scripts('postprocess_batch_list'):
906 try:
907 script_args = p.script_args[script.args_from:script.args_to]

Callers

nothing calls this directly

Calls 2

ordered_scriptsMethod · 0.95
postprocess_batchMethod · 0.45

Tested by

no test coverage detected