code: def get_table_column_names(self, exclude=None):
          
          query = 'SELECT * FROM "{schema}"."{table}" limit 0'.format(table=self.table_name, schema=self.schema)
          columns = get_column_names(self.cc, query).keys()
  
          if exclude and isinstance(exclude, list):
              columns = list(set(columns) - set(exclude))
  
          return columns
docs: Get column names and types from a table