def get_images(self):
    file_path_list = []
    for file in self.get_path_in_image.iterdir():
        if file.is_file():
            for image_extension in self.get_allowed_image_extension:
                if (file.suffix == image_extension):
                    file_path_list.append(PurePath.joinpath(self.get_path_in_image, file))
    return file_path_list
def get_images(self):
    file_path_list = []
    for file in self.get_path_in_image.iterdir():
        if file.is_file():
            for image_extension in self.get_allowed_image_extension:
                if (file.suffix == image_extension):
                    file_path_list.append(PurePath.joinpath(self.get_path_in_image, file))
    return file_path_list