                  self._cache["adjusted_matrix"][0] = mat
          return self._cache["adjusted_matrix"][0]
  
      @property
      def face(self):
          """ :class:`numpy.ndarray`: The aligned face at the given :attr:`size` at the specified
          :attr:`coverage` in the given :attr:`dtype`. If an :attr:`image` has not been provided
          then an the attribute will return ``None``. """
          return self._face
  
 
</s> remove                 logger.trace("adjusted_matrix: %s", mat)
                self._cache["adjusted_matrix"][0] = mat
        return self._cache["adjusted_matrix"][0]
 </s> add                 logger.trace("adjusted_matrix: %s", mat)  # type: ignore
                self._cache.adjusted_matrix = mat
        return self._cache.adjusted_matrix </s> remove     def original_roi(self):
 </s> add     def original_roi(self) -> np.ndarray: </s> remove             logger.trace("_extract_face called without a loaded image. Returning empty face.")
 </s> add             logger.trace("_extract_face called without a loaded image. "  # type: ignore
                         "Returning empty face.") </s> remove     def extract_face(self, image):
 </s> add     def extract_face(self, image: Optional[np.ndarray]) -> Optional[np.ndarray]: </s> remove         with self._cache["adjusted_matrix"][1]:
            if self._cache["adjusted_matrix"][0] is None:
 </s> add         with self._cache.lock("adjusted_matrix"):
            if self._cache.adjusted_matrix is None:
    def face(self) -> Optional[np.ndarray]:
                  self._cache["adjusted_matrix"][0] = mat
          return self._cache["adjusted_matrix"][0]
  
      @property
    def face(self) -> Optional[np.ndarray]:
          """ :class:`numpy.ndarray`: The aligned face at the given :attr:`size` at the specified
          :attr:`coverage` in the given :attr:`dtype`. If an :attr:`image` has not been provided
          then an the attribute will return ``None``. """
          return self._face
  
keep keep keep keep replace keep keep keep keep keep
 lib.align.aligned_face updates
  - Typing
  - Legacy support for pre-aligned faces
  - Coverage support for pre-aligned faces
  - Standardized retrieval of sub-crops 
lib/align/aligned_face.py