Esempio n. 1
0
def get_responses(domain, session_id, text):
    """
    Try to process this message like a session-based submission against
    an xform.
    
    Returns a list of responses if there are any.
    """
    return list(tfsms.next_responses(session_id, text, domain))
Esempio n. 2
0
def get_responses(domain, session_id, text):
    """
    Try to process this message like a session-based submission against
    an xform.
    
    Returns a list of responses if there are any.
    """
    return list(tfsms.next_responses(session_id, text, domain))