              The custom keyword arguments required for recreating the given widget
          """
          retval = {}
          if widget.__class__.__name__ == "MultiOption":
              retval = dict(value=widget._value,  # pylint:disable=protected-access
                            variable=widget._master_variable)  # pylint:disable=protected-access
          elif widget.__class__.__name__ == "ToggledFrame":
              # Toggled Frames need to have their variable tracked
              retval = dict(text=widget._text,  # pylint:disable=protected-access
                            toggle_var=widget._toggle_var)  # pylint:disable=protected-access
          return retval
 
</s> remove             retval = dict(text=widget._text,  # pylint:disable=protected-access
                          toggle_var=widget._toggle_var)  # pylint:disable=protected-access
 </s> add             retval = {"text": widget._text,  # pylint:disable=protected-access
                      "toggle_var": widget._toggle_var}  # pylint:disable=protected-access </s> remove         retval = ctypes.POINTER(IDXGIFactory6)(cast(IDXGIFactory6, handle.value))
 </s> add         retval = ctypes.POINTER(IDXGIFactory6)(T.cast(IDXGIFactory6, handle.value)) </s> remove             retval = dict(alignments_file=[self._args.alignments_file],
                          faces_dir=[self._args.faces_dir],
                          frames_dir=[self._args.frames_dir])
 </s> add             retval = {"alignments_file": [self._args.alignments_file],
                      "faces_dir": [self._args.faces_dir],
                      "frames_dir": [self._args.frames_dir]} </s> remove         self._mask_pipeline: Optional[Extractor] = None
 </s> add         self._mask_pipeline: Extractor | None = None </s> remove     def __init__(self, alignments: "AlignmentData", arguments: "Namespace") -> None:
 </s> add     def __init__(self, alignments: AlignmentData, arguments: Namespace) -> None:
            retval = {"value": widget._value,  # pylint:disable=protected-access
                      "variable": widget._master_variable}  # pylint:disable=protected-access
              The custom keyword arguments required for recreating the given widget
          """
          retval = {}
          if widget.__class__.__name__ == "MultiOption":
            retval = {"value": widget._value,  # pylint:disable=protected-access
                      "variable": widget._master_variable}  # pylint:disable=protected-access
            retval = {"value": widget._value,  # pylint:disable=protected-access
                      "variable": widget._master_variable}  # pylint:disable=protected-access
          elif widget.__class__.__name__ == "ToggledFrame":
              # Toggled Frames need to have their variable tracked
              retval = dict(text=widget._text,  # pylint:disable=protected-access
                            toggle_var=widget._toggle_var)  # pylint:disable=protected-access
          return retval
keep keep keep keep 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/control_helper.py