def add_trigger_models(trigger_types):
 [r for r in (_validate_trigger_type(trigger_type) for trigger_type in trigger_types) if (r is not None)]
 result = []
 for trigger_type in trigger_types:
  item = _add_trigger_models(trigger_type=trigger_type)
  if item:
   result.append(item)
 return result

def add_trigger_models ( trigger_types ) : [ r for r in ( _validate_trigger_type ( trigger_type ) for trigger_type in trigger_types ) if ( r is not None ) ] result = [ ] for trigger_type in trigger_types : item = _add_trigger_models ( trigger_type = trigger_type ) if item : result . append ( item ) return result
register trigger types .