code: def get_column_value(manager, table, record, column):
      
      row = row_by_name(manager, record, table)
      value = getattr(row, column, "")
  
      if isinstance(value, list) and len(value) == 1:
          value = value[0]
  
      return str(value)
docs: Example : To get datapath_id from Bridge table
      get_column_value('Bridge', <bridge name>, 'datapath_id').strip('"')