def createProvidedVariable(self, variable_name): assert variable_name not in self.variables result = Variables.ModuleVariable(module=self, variable_name=variable_name) self.variables[variable_name] = result return result
def createProvidedVariable(self, variable_name): result = Variables.ModuleVariable(module=self, variable_name=variable_name) assert result not in self.variables self.variables.add(result) return result