          """
          assert self._type is not None
          items: Union[Frames, Faces] = globals()[self._type.title()](self._source_dir)
          self._is_video = items.is_video
          return cast(Union[List[Dict[str, str]], List[Dict[str, "PNGHeaderSourceDict"]]],
                      items.file_list_sorted)
  
      def process(self) -> None:
          """ Process the frames check against the alignments file """
          assert self._type is not None
 
</s> remove             retval = len(cast(Dict[str, Union[List[int], List[float]]], meta["pts_time"]))
 </s> add             retval = None </s> remove             retval = None
 </s> add             retval: Optional[int] = len(cast(Dict[str, Union[List[int], List[float]]],
                                        meta["pts_time"])) </s> remove         frames = set(item["frame_fullname"] for item in self._items)
 </s> add         frames = set(item["frame_fullname"] for item in cast(List[Dict[str, str]], self._items)) </s> remove         filelist = cast(List[Tuple[str, "PNGHeaderSourceDict"]], self._faces.file_list_sorted)
        rename_mappings = sorted([(face[0], face[1]["original_filename"])
 </s> add         filelist = cast(List[Tuple[str, "PNGHeaderDict"]], self._faces.file_list_sorted)
        rename_mappings = sorted([(face[0], face[1]["source"]["original_filename"])
        return cast(Union[List[Dict[str, str]], List[Tuple[str, "PNGHeaderDict"]]],
          """
          assert self._type is not None
          items: Union[Frames, Faces] = globals()[self._type.title()](self._source_dir)
          self._is_video = items.is_video
        return cast(Union[List[Dict[str, str]], List[Tuple[str, "PNGHeaderDict"]]],
                      items.file_list_sorted)
  
      def process(self) -> None:
          """ Process the frames check against the alignments file """
          assert self._type is not None
keep keep keep keep replace keep keep keep keep keep
 Alignments Tool updates
  - Copy info back to alignments file from faces 
tools/alignments/jobs.py