

"""simple docstring"""






import unittest
from pathlib import Path
from tempfile import TemporaryDirectory
from unittest.mock import Mock, patch

import diffusers.utils.hub_utils






class       _UpperCAmelCase     (						unittest.TestCase):
			@patch("""diffusers.utils.hub_utils.get_full_repo_name"""       )
			def 							__snake_case	(						self ,						_A       )      ->      List[Any]:






					'''simple docstring'''







					_UpperCAmelCase      :							Optional[Any]       =   "full_repo_name"
					with TemporaryDirectory() as tmpdir:
							# Dummy args values
							_UpperCAmelCase      :							int       =   Mock()
							_UpperCAmelCase      :							int       =   tmpdir
							_UpperCAmelCase      :							Optional[Any]       =   0
							_UpperCAmelCase      :							Union[str, Any]       =   "hub_token"
							_UpperCAmelCase      :							str       =   "dataset_name"
							_UpperCAmelCase      :							Tuple       =   0.01
							_UpperCAmelCase      :							str       =   10_00_00
							_UpperCAmelCase      :							Optional[Any]       =   1_00_00
							_UpperCAmelCase      :							List[Any]       =   0.01
							_UpperCAmelCase      :							Union[str, Any]       =   0.02
							_UpperCAmelCase      :							Optional[Any]       =   0.03
							_UpperCAmelCase      :							Tuple       =   0.0005
							_UpperCAmelCase      :							List[str]       =   0.000001
							_UpperCAmelCase      :							Optional[int]       =   1
							_UpperCAmelCase      :							Optional[int]       =   10
							_UpperCAmelCase      :							Any       =   0.001
							_UpperCAmelCase      :							Optional[int]       =   0.1
							_UpperCAmelCase      :							Union[str, Any]       =   0.2
							_UpperCAmelCase      :							Optional[Any]       =   True

							# Model card mush be rendered and saved
							diffusers.utils.hub_utils.create_model_card(SCREAMING_SNAKE_CASE__ ,						model_name="""model_name"""       )
							self.assertTrue((Path(SCREAMING_SNAKE_CASE__       ) / """README.md""").is_file()       )








"""simple docstring"""






def  UpperCamelCase   (     _lowerCAmelCase       :  int	)			->     str:
	_UpperCAmelCase      :							Any       =   len(_lowerCAmelCase	)
	for _ in range(
	    0,					int(((no_of_elements - 1) / 2) + 1	)	):  # we don't need to traverse to end of list as
		for j in range(0,					no_of_elements - 1	):
			if (
			    lst[j + 1] < lst[j]
			):  # applying bubble sort algorithm from left to right (or forwards)
				_UpperCAmelCase      :							List[str]       =   lst[j + 1]
				_UpperCAmelCase      :							Optional[int]       =   lst[j]
				_UpperCAmelCase      :							Optional[int]       =   temp
			if (
			    lst[no_of_elements - 1 - j] < lst[no_of_elements - 2 - j]
			):  # applying bubble sort algorithm from right to left (or backwards)
				_UpperCAmelCase      :							Any       =   lst[no_of_elements - 1 - j]
				_UpperCAmelCase      :							Optional[Any]       =   lst[no_of_elements - 2 - j]
				_UpperCAmelCase      :							Optional[Any]       =   temp
	return lst


if __name__ == "__main__":
						print('''enter the list to be sorted''')
						lowerCamelCase__			:					List[str]							  =					[int(x) for x in input().split()]  # inputing elements of the list in one line
						lowerCamelCase__			:					int							  =					double_sort(lst)
						print('''the sorted list is''')
						print(sorted_lst)





