          """ The entry point for the Mask tool from :file:`lib.tools.cli`. Runs the Mask process """
          logger.debug("Starting masker process")
          updater = getattr(self, f"_update_{'faces' if self._input_is_faces else 'frames'}")
          if self._update_type != "output":
              if self._input_is_faces:
                  self._faces_saver = ImagesSaver(self._loader.location, as_bytes=True)
              for extractor_output in self._extractor.detected_faces():
                  self._extractor_input_thread.check_and_raise_error()
 
</s> remove         updater = getattr(self, "_update_{}".format("faces" if self._input_is_faces else "frames"))
 </s> add         updater = getattr(self, f"_update_{'faces' if self._input_is_faces else 'frames'}") </s> remove     def process(self):
 </s> add     def process(self) -> None: </s> remove         masker_input = getattr(self,
                               "_input_{}".format("faces" if self._input_is_faces else "frames"))
 </s> add         masker_input = getattr(self, f"_input_{'faces' if self._input_is_faces else 'frames'}") </s> remove         self.args = arguments
        job = self.args.job
        self.alignments = None if job == "from-faces" else AlignmentData(self.args.alignments_file)
 </s> add         self._args = arguments
        job = self._args.job
        alignment_file = self._find_alignments()
        self.alignments = None if job == "from-faces" else AlignmentData(alignment_file) </s> remove         if self.args.job in ("missing-alignments", "missing-frames", "multi-faces", "no-faces"):
            job = Check
 </s> add         if self._args.job in ("missing-alignments", "missing-frames", "multi-faces", "no-faces"):
            job: Any = Check
            assert self._extractor is not None
          """ The entry point for the Mask tool from :file:`lib.tools.cli`. Runs the Mask process """
          logger.debug("Starting masker process")
          updater = getattr(self, f"_update_{'faces' if self._input_is_faces else 'frames'}")
          if self._update_type != "output":
            assert self._extractor is not None
              if self._input_is_faces:
                  self._faces_saver = ImagesSaver(self._loader.location, as_bytes=True)
              for extractor_output in self._extractor.detected_faces():
                  self._extractor_input_thread.check_and_raise_error()
keep keep keep add keep keep keep keep
 Minor updates and fixups
  - Mask Tool - Typing + BiSeNet mask update fix
  - Alignments Tool - Auto search for alignments file 
tools/mask/mask.py