code: def get_table_columns(metadata):
      
      cols = OrderedDict()
      for col in metadata.c:
          name = str(col).rpartition(".")[2]
          cols[name] = col.type.python_type.__name__
      return cols
docs: Extract columns names and python typos from metadata
  
      Args:
          metadata: Table metadata
  
      Returns:
          dict with columns names and python types