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

Method before_process_batch

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

ordered_scriptsMethod · 0.95
before_process_batchMethod · 0.45

Tested by

no test coverage detected