def generic_send_email_script_template_factory(identifier, event, name, description, help_text, initial=None):
 attrs = {}
 attrs.setdefault(u'identifier', identifier)
 attrs.setdefault(u'event', event)
 attrs.setdefault(u'name', name)
 attrs.setdefault(u'description', description)
 attrs.setdefault(u'help_text', help_text)
 attrs.setdefault(u'initial', (initial or dict()))
 return type(str(u'GenericSendEmailScriptTemplate'), (GenericSendEmailScriptTemplate,), attrs)

def generic_send_email_script_template_factory ( identifier , event , name , description , help_text , initial = None ) : attrs = { } attrs . setdefault ( u'identifier' , identifier ) attrs . setdefault ( u'event' , event ) attrs . setdefault ( u'name' , name ) attrs . setdefault ( u'description' , description ) attrs . setdefault ( u'help_text' , help_text ) attrs . setdefault ( u'initial' , ( initial or dict ( ) ) ) return type ( str ( u'GenericSendEmailScriptTemplate' ) , ( GenericSendEmailScriptTemplate , ) , attrs )
a factory to create a generic script template based on genericsendemailscripttemplate class .