              defaults["mask_type"] = available_masks[0]
          logger.debug("Final mask choices: %s", available_masks)
          return available_masks
  
      @staticmethod
      def _add_refresh_button(parent, refresh_callback):
          """ Add a button to refresh the images.
  
          Parameters
          ----------
          refresh_callback: python function
 
</s> remove     def _generate_converter_arguments(arguments, available_masks):
 </s> add     def _generate_converter_arguments(arguments: "Namespace",
                                      available_masks: List[str]) -> "Namespace": </s> remove     def _add_patch_callback(self, patch_callback):
 </s> add     def _add_patch_callback(self, patch_callback: Callable[[], None]) -> None: </s> remove     def _add_patch_callback(self, patch_callback):
 </s> add     def _add_patch_callback(self, patch_callback: Callable[[], None]) -> None: </s> remove     @staticmethod
    def _create_mask_choices(defaults, available_masks, has_predicted_mask):
 </s> add     @classmethod
    def _create_mask_choices(cls,
                             defaults: Dict[str, Any],
                             available_masks: List[str],
                             has_predicted_mask: bool) -> List[str]: </s> remove     def add_queue(self, name, maxsize=0, create_new=False):
        """ Add a queue to the manager.

        Adds an event "shutdown" to the queue that can be used to indicate to a process that any
        activity on the queue should cease.
 </s> add     def add_queue(self, name: str, maxsize: int = 0, create_new: bool = False) -> str:
        """ Add a :class:`EventQueue` to the manager.
    @classmethod
    def _add_refresh_button(cls,
                            parent: ttk.Frame,
                            refresh_callback: Callable[[], None]) -> None:
              defaults["mask_type"] = available_masks[0]
          logger.debug("Final mask choices: %s", available_masks)
          return available_masks
  
    @classmethod
    def _add_refresh_button(cls,
                            parent: ttk.Frame,
                            refresh_callback: Callable[[], None]) -> None:
    @classmethod
    def _add_refresh_button(cls,
                            parent: ttk.Frame,
                            refresh_callback: Callable[[], None]) -> None:
          """ Add a button to refresh the images.
  
          Parameters
          ----------
          refresh_callback: python function
keep keep keep keep replace replace keep keep keep keep keep
 Bugfix: convert - Gif Writer
  - Fix non-launch error on Gif Writer
  - convert plugins - linting
  - convert/fs_media/preview/queue_manager - typing
  - Change convert items from dict to Dataclass 
tools/preview/preview.py