






import inspect
import unittest


class 					_snake_case						(			unittest.TestCase ):






	def    lowerCAmelCase_							(		self       )						->    List[Any]:
					try:
									import diffusers  # noqa: F401
					except ImportError:
									assert False






	def    lowerCAmelCase_							(		self       )						->    Any:
					import diffusers
					from diffusers.dependency_versions_table import deps

					snake_case__      :int         =   inspect.getmembers(UpperCamelCase					,inspect.isclass       )

					for cls_name, cls_module in all_classes:
									if "dummy_" in cls_module.__module__:
													for backend in cls_module._backends:
																	if backend == "k_diffusion":
																					snake_case__      :Optional[Any]         =   "k-diffusion"
																	elif backend == "invisible_watermark":
																					snake_case__      :Union[str, Any]         =   "invisible-watermark"
																	assert backend in deps, f'{backend} is not in the deps table!'







def 					lowercase_ (    __snake_case     :							str      )     -> list:





				'''simple docstring'''


				return [
				    txt[:a] + txt[a].upper() + txt[a + 1 :]
				    for a in range(len(__snake_case      )      )
				    if txt[a].isalpha()
				]


if __name__ == "__main__":
	__import__("doctest").testmod()