is it possible to define a function wihtin __init__ or execute? if yes, how?
like this doesnot work:
class Toolbox(object):
def __init__(self):
self.label = "Toolbox"
self.alias = "toolbox"
self.tools = [Tool]
def myfunction():
[...]
also this doesnot work:
def execute(self, parameters, messages):
def myfunction():
[...]