      def __init__(self, alignments: "AlignmentData", arguments: Namespace) -> None:
          logger.debug("Initializing %s: (arguments: %s)", self.__class__.__name__, arguments)
          self._alignments = alignments
  
          kwargs = {}
          if alignments.version < 2.1:
              # Update headers of faces generated with hash based alignments
              kwargs["alignments"] = alignments
          self._items = Faces(arguments.faces_dir, **kwargs)  # type:ignore  # needs TypedDict :/
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def process(self) -> None:
          """ Run the job to remove faces from an alignments file that do not exist within a faces
          folder. """
 
</s> remove         The alignments object that contains the faces. Used to update legacy hash based faces
        for <v2.1 alignments to png header based version. Pass in ``None`` to not update legacy
        faces (raises error instead). Default: ``None``
 </s> add         The alignments object that contains the faces. This can be used for 2 purposes:
        - To update legacy hash based faces for <v2.1 alignments to png header based version.
        - When the remove-faces job is being run, when the process will only load faces that exist
        in the alignments file. Default: ``None`` </s> remove         if self._alignments is not None:  # Legacy updating
 </s> add         if is_legacy:  # Legacy updating
        self._items = Faces(arguments.faces_dir, alignments=alignments)
      def __init__(self, alignments: "AlignmentData", arguments: Namespace) -> None:
          logger.debug("Initializing %s: (arguments: %s)", self.__class__.__name__, arguments)
          self._alignments = alignments
  
        self._items = Faces(arguments.faces_dir, alignments=alignments)
        self._items = Faces(arguments.faces_dir, alignments=alignments)
        self._items = Faces(arguments.faces_dir, alignments=alignments)
        self._items = Faces(arguments.faces_dir, alignments=alignments)
        self._items = Faces(arguments.faces_dir, alignments=alignments)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def process(self) -> None:
          """ Run the job to remove faces from an alignments file that do not exist within a faces
          folder. """
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
 bugfix: - Alignment tool - remove faces:
  - Only process faces that exist in alignments file 
tools/alignments/jobs_faces.py