          logger.debug(defaults)
          return defaults
  
      def _set_kwargs(self,
                      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]]]]:
          """ Generate the required kwargs for the requested file dialog browser.
  
          Parameters
          ----------
          title: str
 
</s> remove                  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:
 </s> add                  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: </s> remove     def _set_flow(detector: Optional[str],
                  aligner: Optional[str],
                  masker: List[Optional[str]],
                  recognition: Optional[str]) -> List[str]:
 </s> add     def _set_flow(detector: str | None,
                  aligner: str | None,
                  masker: list[str | None],
                  recognition: str | None) -> list[str]: </s> remove                      detector: Optional[str],
                     rotation: Optional[str],
 </s> add                      detector: str | None,
                     rotation: str | None, </s> remove                      configfile: Optional[str]) -> Optional["Detector"]:
 </s> add                      configfile: str | None) -> Detector | None: </s> remove                     aligner: Optional[str],
                    configfile: Optional[str],
                    normalize_method: Optional[Literal["none", "clahe", "hist", "mean"]],
 </s> add                     aligner: str | None,
                    configfile: str | None,
                    normalize_method: T.Literal["none", "clahe", "hist", "mean"] | None,
                    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]]]:
          logger.debug(defaults)
          return defaults
  
      def _set_kwargs(self,
                    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]]]:
                    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]]]:
                    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]]]:
                    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]]]:
                    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]]]:
                    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]]]:
                    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]]]:
                    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]]]:
                    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]]]:
          """ Generate the required kwargs for the requested file dialog browser.
  
          Parameters
          ----------
          title: str
keep keep keep keep replace 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