class ContextAction(): def setData(self, alg, toolbox): self.alg = alg self.toolbox = toolbox