def _process_from (message, record):

    # from_username = CharField(null = True, max_length = 250)
    # from_first_name = CharField(null = True, max_length = 250)
    # from_last_name = CharField(null = True, max_length = 250)
    # from_id = IntegerField()

    # u'from':{
    #   u'username':u'username',
    #   u'first_name':u'first',
    #   u'last_name':u'last',
    #   u'id':12345
    # },

    if 'username' in message['from']:
        record.from_username = message['from']['username']

    if 'first_name' in message['from']:
        record.from_first_name = message['from']['first_name']

    if 'last_name' in message['from']:
        record.from_last_name = message['from']['last_name']

    if 'id' in message['from']:
        record.from_id = message['from']['id']

    return record
Get Worksheet.
dataset/ETHPy150Open leonjza/hogar/hogar/Plugins/Logger/main.py/_process_from--crossover with--dataset/ETHPy150Open yoavaviram/python-google-spreadsheet/google_spreadsheet/api.py/SpreadsheetAPI.get_worksheet