MCPcopy Index your code
hub / github.com/StackStorm/st2 / _register_plugin

Function _register_plugin

st2common/st2common/util/loader.py:123–125  ·  view source on GitHub ↗
(plugin_base_class, plugin_impl)

Source from the content-addressed store, hash-verified

121
122
123def _register_plugin(plugin_base_class, plugin_impl):
124 _validate_methods(plugin_base_class, plugin_impl)
125 plugin_base_class.register(plugin_impl)
126
127
128def register_plugin_class(base_class, file_path, class_name):

Callers 2

register_plugin_classFunction · 0.85
register_pluginFunction · 0.85

Calls 2

_validate_methodsFunction · 0.85
registerMethod · 0.80

Tested by

no test coverage detected