      """
  
      def __init__(self,
                   handle_type: _HANDLETYPE,
                   file_type: Optional[_FILETYPE],
                   title: Optional[str] = None,
                   initial_folder: Optional[str] = None,
                   initial_file: Optional[str] = None,
                   command: Optional[str] = None,
                   action: Optional[str] = None,
                   variable: Optional[str] = None,
                   parent: Optional[tk.Frame] = None) -> None:
          logger.debug("Initializing %s: (handle_type: '%s', file_type: '%s', title: '%s', "
                       "initial_folder: '%s', initial_file: '%s', command: '%s', action: '%s', "
                       "variable: %s, parent: %s)", self.__class__.__name__, handle_type, file_type,
                       title, initial_folder, initial_file, command, action, variable, parent)
          self._handletype = handle_type
 
</s> remove         kwargs: Dict[str, Union[None, tk.Frame, str,
                                List[Tuple[str, str]]]] = dict(master=self._dummy_master)
 </s> add         kwargs: dict[str, None | tk.Frame | str | list[tuple[str, str]]] = {
            "master": self._dummy_master} </s> remove                  section: Optional[str] = None,
                 title: Optional[str] = None,
 </s> add                  section: str | None = None,
                 title: str | None = None, </s> remove                     title: Optional[str],
                    initial_folder: Optional[str],
                    initial_file: Optional[str],
                    file_type: Optional[_FILETYPE],
                    command: Optional[str],
                    action: Optional[str],
                    variable: Optional[str],
                    parent: Optional[tk.Frame]
                    ) -> Dict[str, Union[None, tk.Frame, str, List[Tuple[str, str]]]]:
 </s> add                     title: str | None,
                    initial_folder: str | None,
                    initial_file: str | None,
                    file_type: _FILETYPE | None,
                    command: str | None,
                    action: str | None,
                    variable: str | None,
                    parent: tk.Frame | None
                    ) -> dict[str, None | tk.Frame | str | list[tuple[str, str]]]: </s> remove                  configfile: Optional[str] = None,
                 config: Optional[FaceswapConfig] = None) -> None:
 </s> add                  configfile: str | None = None,
                 config: FaceswapConfig | None = None) -> None: </s> remove                  name: Optional[str] = None,
 </s> add                  name: str | None = None,
                 file_type: _FILETYPE | None,
                 title: str | None = None,
                 initial_folder: str | None = None,
                 initial_file: str | None = None,
                 command: str | None = None,
                 action: str | None = None,
                 variable: str | None = None,
                 parent: tk.Frame | None = None) -> None:
      """
  
      def __init__(self,
                   handle_type: _HANDLETYPE,
                 file_type: _FILETYPE | None,
                 title: str | None = None,
                 initial_folder: str | None = None,
                 initial_file: str | None = None,
                 command: str | None = None,
                 action: str | None = None,
                 variable: str | None = None,
                 parent: tk.Frame | None = None) -> None:
                 file_type: _FILETYPE | None,
                 title: str | None = None,
                 initial_folder: str | None = None,
                 initial_file: str | None = None,
                 command: str | None = None,
                 action: str | None = None,
                 variable: str | None = None,
                 parent: tk.Frame | None = None) -> None:
                 file_type: _FILETYPE | None,
                 title: str | None = None,
                 initial_folder: str | None = None,
                 initial_file: str | None = None,
                 command: str | None = None,
                 action: str | None = None,
                 variable: str | None = None,
                 parent: tk.Frame | None = None) -> None:
                 file_type: _FILETYPE | None,
                 title: str | None = None,
                 initial_folder: str | None = None,
                 initial_file: str | None = None,
                 command: str | None = None,
                 action: str | None = None,
                 variable: str | None = None,
                 parent: tk.Frame | None = None) -> None:
                 file_type: _FILETYPE | None,
                 title: str | None = None,
                 initial_folder: str | None = None,
                 initial_file: str | None = None,
                 command: str | None = None,
                 action: str | None = None,
                 variable: str | None = None,
                 parent: tk.Frame | None = None) -> None:
                 file_type: _FILETYPE | None,
                 title: str | None = None,
                 initial_folder: str | None = None,
                 initial_file: str | None = None,
                 command: str | None = None,
                 action: str | None = None,
                 variable: str | None = None,
                 parent: tk.Frame | None = None) -> None:
                 file_type: _FILETYPE | None,
                 title: str | None = None,
                 initial_folder: str | None = None,
                 initial_file: str | None = None,
                 command: str | None = None,
                 action: str | None = None,
                 variable: str | None = None,
                 parent: tk.Frame | None = None) -> None:
                 file_type: _FILETYPE | None,
                 title: str | None = None,
                 initial_folder: str | None = None,
                 initial_file: str | None = None,
                 command: str | None = None,
                 action: str | None = None,
                 variable: str | None = None,
                 parent: tk.Frame | None = None) -> None:
          logger.debug("Initializing %s: (handle_type: '%s', file_type: '%s', title: '%s', "
                       "initial_folder: '%s', initial_file: '%s', command: '%s', action: '%s', "
                       "variable: %s, parent: %s)", self.__class__.__name__, handle_type, file_type,
                       title, initial_folder, initial_file, command, action, variable, parent)
          self._handletype = handle_type
keep keep keep keep replace replace replace replace replace replace replace replace keep keep keep keep keep
 Rebase code (#1326)

* Remove tensorflow_probability requirement

* setup.py - fix progress bars

* requirements.txt: Remove pre python 3.9 packages

* update apple requirements.txt

* update INSTALL.md

* Remove python<3.9 code

* setup.py - fix Windows Installer

* typing: python3.9 compliant

* Update pytest and readthedocs python versions

* typing fixes

* Python Version updates
  - Reduce max version to 3.10
  - Default to 3.10 in installers
  - Remove incompatible 3.11 tests

* Update dependencies

* Downgrade imageio dep for Windows

* typing: merge optional unions and fixes

* Updates
  - min python version 3.10
  - typing to python 3.10 spec
  - remove pre-tf2.10 code
  - Add conda tests

* train: re-enable optimizer saving

* Update dockerfiles

* Update setup.py
  - Apple Conda deps to setup.py
  - Better Cuda + dependency handling

* bugfix: Patch logging to prevent Autograph errors

* Update dockerfiles

* Setup.py - Setup.py - stdout to utf-8

* Add more OSes to github Actions

* suppress mac-os end to end test 
lib/gui/utils/file_handler.py