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

Method list_scripts_for_method

modules/scripts.py:800–804  ·  view source on GitHub ↗
(self, method_name)

Source from the content-addressed store, hash-verified

798 def list_scripts_for_method(self, method_name):
799 if method_name in ('before_component', 'after_component'):
800 return self.scripts
801 else:
802 return self.alwayson_scripts
803
804 def create_ordered_callbacks_list(self, method_name, *, enable_user_sort=True):
805 script_list = self.list_scripts_for_method(method_name)
806 category = f'script_{method_name}'
807 callbacks = []

Callers 2

ordered_callbacksMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected