(self, name: str, sub_items: list, type: str)
Handled automatically by menus.py, but requires a name, all the sub items, and a type
Handled automatically by menus.py, but requires a name, all the sub items, and a type
Handled automatically by menus . py but requires a name all the sub items and a type
def __init__(self, name: str, sub_items: list, type: str):
        '''
        Handled automatically by menus.py, but requires a name, all the sub items, and a type
        '''
        self.name = name
        self.sub_items = sub_items
        self.type = type.upper()
        self.path = context_registry_format(type)
def __init__ ( self , name : str , sub_items : list , type : str ) : self . name = name self . sub_items = sub_items self . type = type . upper ( ) self . path = context_registry_format ( type )