(self, table_name)
Return a list of field names and metadata in the given table

        Parameters
        ----------
        table_name: str

        Returns
        -------
        a list of tuples (field_name, *field_metadata)
        both will be passed to create_variable
Return a list of field names and metadata in the given table
Return a list of field names and metadata in the given table
def get_fields(self, table_name):
        """Return a list of field names and metadata in the given table

        Parameters
        ----------
        table_name: str

        Returns
        -------
        a list of tuples (field_name, *field_metadata)
        both will be passed to create_variable
        """
        query = self.create_sql_query(table_name, ["*"], limit=0)
        with self.execute_sql_query(query) as cur:
            return cur.description
def get_fields ( self , table_name ) : query = self . create_sql_query ( table_name , [ "*" ] , limit = 0 ) with self . execute_sql_query ( query ) as cur : return cur . description