smapy.runnable¶
-
class
smapy.runnable.
RunnableMeta
(name, bases, dict)[source]¶ Metaclass to be used by the Runnable class.
This metaclass gives each Runnable class a custom “name” attribute derived from the class model and name. This has to be done here, in a metaclass, because otherwise we are not able to access the module name until the class is instantiated.