#NEWLINE# def send_keyword_response( vn , message_id , logged_event ) : #NEWLINE# #INDENT# subevent = logged_event . create_subevent_for_single_sms ( vn . owner_doc_type , vn . owner_id ) #NEWLINE# metadata = MessageMetadata ( workflow = WORKFLOW_KEYWORD , messaging_subevent_id = metadata . pk ) #NEWLINE# message = get_message ( message_id , vn ) #NEWLINE# send_sms_to_verified_number ( vn , message , metadata = metadata ) #NEWLINE# subevent . completed ( )