Module Expr Str ImportFrom alias alias ImportFrom alias alias Assign NameStore Str FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad Call NameLoad NameLoad ListLoad NameLoad Index Num Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr decorator_list
N/A N/A  Store and get messages from cache  rapidsms.backends.database.models INCOMING BackendMessage rapidsms.router receive lookup_connections N/A BACKEND_NAME message_tester get_messages N/A N/A N/A N/A N/A Return a queryset with the message data N/A N/A N/A N/A BackendMessage objects filter name BACKEND_NAME N/A store_message N/A N/A direction identity text N/A N/A N/A 

    :param direction: "in" or "out" depending on whether the message
       was sent to (into) RapidSMS, or out of RapidSMS.
    :param identity: Phone number the message was sent from (in)
       or to (out)
    :param text: The message
     N/A N/A N/A N/A BackendMessage objects create direction direction identity identity text text name BACKEND_NAME N/A store_and_queue N/A N/A identity text N/A N/A N/A Store a message in our log and send it into RapidSMS.

    :param identity: Phone number the message will appear to come from
    :param text: The message text
     N/A N/A store_message INCOMING identity text N/A connection N/A N/A lookup_connections BACKEND_NAME N/A identity N/A 0 N/A N/A receive text connection N/A clear_messages N/A N/A identity N/A N/A N/A Forget messages to/from this identity

    :param identity: The phone number whose messages will be cleared
     N/A N/A N/A N/A N/A N/A BackendMessage objects filter identity identity name BACKEND_NAME delete N/A clear_all_messages N/A N/A N/A N/A N/A Forget all messages N/A N/A N/A N/A N/A N/A BackendMessage objects filter name BACKEND_NAME delete N/A