Starting with python 3.11 you can just unpack tuple/array with a star operator:
class CategoryRequest(BaseModel): class_name: Literal[*CLASS_NAME_VALUES] icon_name: Literal[*ICON_NAME_VALUES]