'''simple docstring'''




from __future__ import annotations

from typing import Any






def 							snake_case__				(     _A:   list[Any]					)       ->      None:

		'''simple docstring'''


		create_state_space_tree(_A ,  [] ,  0					)






def 							snake_case__				(     _A:   list[Any] ,  _A:   list[Any] ,  _A:   int					)       ->      None:

		'''simple docstring'''


		if index == len(_A					):
				print(_A					)
				return

		create_state_space_tree(_A ,  _A ,  index + 1					)
		current_subsequence.append(sequence[index]					)
		create_state_space_tree(_A ,  _A ,  index + 1					)
		current_subsequence.pop()


if __name__ == "__main__":
						__lowercase        =    [3, 1, 2, 4]
						generate_all_subsequences(seq)

						seq.clear()
						seq.extend(['''A''', '''B''', '''C'''])
						generate_all_subsequences(seq)





'''simple docstring'''




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

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






@dataclass(frozen=lowerCAmelCase__      )
class 							a__(   lowerCAmelCase__      ):


			'''simple docstring'''






			UpperCAmelCase_     :	str						=			field(default='''automatic-speech-recognition'''					,		metadata={'''include_in_asdict_even_if_is_default''': True}      )
			UpperCAmelCase_     :	ClassVar[Features]						=			Features({'''audio''': Audio()}      )
			UpperCAmelCase_     :	ClassVar[Features]						=			Features({'''transcription''': Value('''string'''      )}      )
			UpperCAmelCase_     :	str						=			"audio"
			UpperCAmelCase_     :	str						=			"transcription"



			def 				a_			(  self			,       __lowerCAmelCase):




					"""simple docstring"""


					if self.audio_column not in features:
							raise ValueError(f"Column {self.audio_column} is not present in features.")
					if not isinstance(features[self.audio_column]			,       __lowerCAmelCase):
							raise ValueError(f"Column {self.audio_column} is not an Audio type.")
					lowerCAmelCase     =    copy.deepcopy(self)
					lowerCAmelCase     =    self.input_schema.copy()
					lowerCAmelCase     =    features[self.audio_column]
					lowerCAmelCase     =    input_schema
					return task_template







			@property
			def 				a_			(  self):




					"""simple docstring"""


					return {self.audio_column: "audio", self.transcription_column: "transcription"}




