In Python I defined a class:
class Myclass(BaseModule):
I would like print argument BaseModule
.
Something like this:
class Myclass(BaseModule):
logger.info("Argument=%s" % BaseModule.get_name())
Doesn't work:
unbound method get_name() must be called with BaseModule instance as
first argument (got nothing instead)