MCPcopy Create free account
hub / github.com/StackStorm/st2 / _get_classes_in_module

Function _get_classes_in_module

st2common/st2common/util/loader.py:65–73  ·  view source on GitHub ↗
(module)

Source from the content-addressed store, hash-verified

63
64
65def _get_classes_in_module(module):
66 return [
67 kls
68 for name, kls in inspect.getmembers(
69 module,
70 lambda member: inspect.isclass(member)
71 and member.__module__ == module.__name__,
72 )
73 ]
74
75
76def _get_plugin_classes(module):

Callers 1

_get_plugin_classesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected