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

Method before_process

modules/scripts.py:834–840  ·  view source on GitHub ↗
(self, p)

Source from the content-addressed store, hash-verified

832 def before_process(self, p):
833 for script in self.ordered_scripts('before_process'):
834 try:
835 script_args = p.script_args[script.args_from:script.args_to]
836 script.before_process(p, *script_args)
837 except Exception:
838 errors.report(f"Error running before_process: {script.filename}", exc_info=True)
839
840 def process(self, p):
841 for script in self.ordered_scripts('process'):
842 try:
843 script_args = p.script_args[script.args_from:script.args_to]

Callers

nothing calls this directly

Calls 2

ordered_scriptsMethod · 0.95
before_processMethod · 0.45

Tested by

no test coverage detected