


from __future__ import annotations






def 							__lowercase   ( __lowerCAmelCase							:				int					,    __lowerCAmelCase							:				int   ):
							a__             =     []
							create_all_state(1					,    __lowerCAmelCase					,    __lowerCAmelCase					,    []					,    __lowerCAmelCase   )
							return result






def 							__lowercase   ( __lowerCAmelCase							:				int					,    __lowerCAmelCase							:				int					,    __lowerCAmelCase							:				int					,    __lowerCAmelCase							:				list[int]					,    __lowerCAmelCase							:				list[list[int]]					,    ):
							if level == 0:
														total_list.append(current_list[:]   )
														return

							for i in range(__lowerCAmelCase					,    total_number - level + 2   ):
														current_list.append(__lowerCAmelCase   )
														create_all_state(i + 1					,    __lowerCAmelCase					,    level - 1					,    __lowerCAmelCase					,    __lowerCAmelCase   )
														current_list.pop()






def 							__lowercase   ( __lowerCAmelCase							:				list[list[int]]   ):
							for i in total_list:
														print(*__lowerCAmelCase   )


if __name__ == "__main__":
						snake_case							:       str     			=      4
						snake_case							:       List[str]     			=      2
						snake_case							:       Optional[int]     			=      generate_all_combinations(n, k)
						print_all_state(total_list)








import copy
from dataclasses import dataclass, field
from typing import ClassVar, Dict

from ..features import Audio, ClassLabel, Features
from .base import TaskTemplate







@dataclass(frozen=lowerCamelCase_      )
class        snake_case_   (lowerCamelCase_      ):
					UpperCAmelCase__					:    str          =			field(default='''audio-classification'''	,						metadata={'''include_in_asdict_even_if_is_default''': True}      )
					UpperCAmelCase__					:    ClassVar[Features]          =			Features({'''audio''': Audio()}      )
					UpperCAmelCase__					:    ClassVar[Features]          =			Features({'''labels''': ClassLabel}      )
					UpperCAmelCase__					:    str          =			"audio"
					UpperCAmelCase__					:    str          =			"labels"
					def  lowerCamelCase__(      self   :Optional[int]			,__snake_case   :int      )					->    str:
												if self.label_column not in features:
																			raise ValueError(F'Column {self.label_column} is not present in features.'      )
												if not isinstance(features[self.label_column]			,__snake_case      ):
																			raise ValueError(F'Column {self.label_column} is not a ClassLabel.'      )
												a__             =     copy.deepcopy(self      )
												a__             =     self.label_schema.copy()
												a__             =     features[self.label_column]
												a__             =     label_schema
												return task_template



					@property
					def  lowerCamelCase__(      self   :Dict      )					->    Dict[str, str]:
												return {
												    self.audio_column: "audio",
												    self.label_column: "labels",
												}




