




'''simple docstring'''


def 		snake_case_   (UpperCamelCase	:  list			,						UpperCamelCase	:  int = 0				):





							'''simple docstring'''


							_a     					=    length or len(UpperCamelCase				)
							_a     					=    False
							for i in range(length - 1				):
														if list_data[i] > list_data[i + 1]:
																					_a					,							_a     					=    list_data[i + 1], list_data[i]
																					_a     					=    True

							return list_data if not swapped else bubble_sort(UpperCamelCase			,						length - 1				)


if __name__ == "__main__":
				import doctest

				doctest.testmod()







'''simple docstring'''


from ..utils import DummyObject, requires_backends

class       A   (		metaclass=_a   ):
							lowercase_          =    ['torch', 'scipy']







							def __init__(  self	:  Tuple							,      *lowerCAmelCase_	:  str							,      **lowerCAmelCase_	:  Any )      ->							Tuple:


														"""simple docstring"""


														requires_backends(self							,      ['''torch''', '''scipy'''] )







							@classmethod
							def        __lowerCAmelCase      (  cls	:  Dict							,      *lowerCAmelCase_	:  Dict							,      **lowerCAmelCase_	:  str )      ->							Tuple:


														"""simple docstring"""


														requires_backends(cls							,      ['''torch''', '''scipy'''] )







							@classmethod
							def        __lowerCAmelCase      (  cls	:  Optional[int]							,      *lowerCAmelCase_	:  str							,      **lowerCAmelCase_	:  List[str] )      ->							str:


														"""simple docstring"""


														requires_backends(cls							,      ['''torch''', '''scipy'''] )

