def update_parameter(self): """ Defines the code block for this parameter data type in the GPTool UpdateParameter method. :return: Returns the string.Template object. """ return StrTemplate('')
def replace_placeholders(template): return StrTemplate(template).substitute(globals(), s='is')
def apply(self, template): tmpl = StrTemplate(b''.decode() + template) return tmpl.safe_substitute(self.variables)