CompAero/internal.py
def named_subheader(name: str) -> str:
    """This generates a field which has a name in it with similiar format as to to_string()
       To be used in to seperate sub fields

    Args:
        name (str): name to print, is centered

    Returns:
        str: A formatted string with new line character on the end
    """
    return "|{:=^{width}}|\n".format(" " + name + " ", width=INTERNAL_VALUE_WIDTH)
This generates a field which has a name in it with similiar format as to to_string()
       To be used in to seperate sub fields

    Args:
        name (str): name to print, is centered

    Returns:
        str: A formatted string with new line character on the end
    
This generates a field which has a name in it with similiar format as to to_string()
To be used in to seperate sub fields
This generates a field which has a name in it with similiar format as to to_string () To be used in to seperate sub fields
def named_subheader(name: str) -> str:
    return "|{:=^{width}}|\n".format(" " + name + " ", width=INTERNAL_VALUE_WIDTH)
def named_subheader ( name : str ) -> str : return "|{:=^{width}}|\n" . format ( " " + name + " " , width = INTERNAL_VALUE_WIDTH )
This generates a field which has a name in it with similiar format as to to_string()
To be used in to seperate sub fields
This generates a field which has a name in it with similiar format as to to_string () To be used in to seperate sub fields
"""This generates a field which has a name in it with similiar format as to to_string()
       To be used in to seperate sub fields

    Args:
        name (str): name to print, is centered

    Returns:
        str: A formatted string with new line character on the end
    """
A formatted string with new line character on the end
A formatted string with new line character on the end
str
name
str
name to print, is centered
name to print is centered