armi.utils.dynamicImporter module

Dynamic importing help

armi.utils.dynamicImporter._importModule(modules)[source]
armi.utils.dynamicImporter.importModule(fullyQualifiedModule)[source]
armi.utils.dynamicImporter.importEntirePackage(module)[source]

Load every module in a package

armi.utils.dynamicImporter.getEntireFamilyTree(cls)[source]

Returns a list of classes subclassing the input class

One large caveat is it can only locate subclasses that had been imported somewhere Look to use importEntirePackage before searching for subclasses if not all children are being found as expected.