예제 #1
0
def get_blobs(options):
    """Get pages with message blobs from robot"""
    query = data_index_protos.DataQuery()
    blobspec = query.blobs.add()
    if options.channel:
        blobspec.channel = options.channel
    if options.message_type:
        blobspec.message_type = options.message_type
    print(run_query(options, query))
예제 #2
0
def get_comments(options):
    """Get pages with operator comments from robot"""
    query = data_index_protos.DataQuery()
    query.comments = True
    print(run_query(options, query))
예제 #3
0
def get_events(options):
    """Get pages with events from robot"""
    query = data_index_protos.DataQuery()
    query.events = True
    print(run_query(options, query))
예제 #4
0
def get_text(options):
    """Get pages with text-messages from robot"""
    query = data_index_protos.DataQuery()
    query.text_messages = True
    print(run_query(options, query))