benchmarkstt.modules module

%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#e7f2fa', 'lineColor': '#2980B9' }}}%% classDiagram Modules HiddenModuleError Exception <|-- HiddenModuleError class HiddenModuleError { } class Modules { <<mapping>> <<iterable>> <<attributes>> +keys() sub_module=None }
exception benchmarkstt.modules.HiddenModuleError[source]

Bases: Exception

class benchmarkstt.modules.Modules(sub_module=None)[source]

Bases: object

keys()[source]
benchmarkstt.modules.load_object(name, transform=None)[source]

Load an object based on a string.

Parameters
  • name -- The string representation of an object

  • transform -- Transform (callable) done on the object name for comparison, if None, will lowercase compare. False for no transform.