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

Method before_process

modules/scripts.py:147–154  ·  view source on GitHub ↗

This function is called very early during processing begins for AlwaysVisible scripts. You can modify the processing object (p) here, inject hooks, etc. args contains all values returned by components from ui()

(self, p, *args)

Source from the content-addressed store, hash-verified

145 pass
146
147 def before_process(self, p, *args):
148 """
149 This function is called very early during processing begins for AlwaysVisible scripts.
150 You can modify the processing object (p) here, inject hooks, etc.
151 args contains all values returned by components from ui()
152 """
153
154 pass
155
156 def process(self, p, *args):
157 """

Callers 2

before_processMethod · 0.45
process_imagesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected