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))
def get_comments(options): """Get pages with operator comments from robot""" query = data_index_protos.DataQuery() query.comments = True print(run_query(options, query))
def get_events(options): """Get pages with events from robot""" query = data_index_protos.DataQuery() query.events = True print(run_query(options, query))
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))