          logger.trace("Returning blurred mask. Shape: %s", blurred.shape)
          return blurred
  
      @property
      def _multipass_factor(self):
          """ For multiple passes the kernel must be scaled down. This value is
              different for box filter and gaussian """
          factor = dict(gaussian=0.8, normalized=0.5)
          return factor[self._blur_type]
  
 
</s> remove         logger.trace("Returning blurred mask. Shape: %s", blurred.shape)
 </s> add         logger.trace("Returning blurred mask. Shape: %s", blurred.shape)  # type: ignore </s> remove     def _sigma(self):
 </s> add     def _sigma(self) -> Literal[0]: </s> remove             logger.trace("Pass: %s, kernel_size: %s", i + 1, (ksize, ksize))
 </s> add             logger.trace("Pass: %s, kernel_size: %s", i + 1, (ksize, ksize))  # type: ignore </s> remove     def blurred(self):
 </s> add     def blurred(self) -> np.ndarray: </s> remove         return self.y + self.h

    def add_mask(self, name, mask, affine_matrix, interpolator,
                 storage_size=128, storage_centering="face"):
 </s> add         assert self.top is not None and self.height is not None
        return self.top + self.height

    def add_mask(self,
                 name: str,
                 mask: np.ndarray,
                 affine_matrix: np.ndarray,
                 interpolator: int,
                 storage_size: int = 128,
                 storage_centering: "CenteringType" = "face") -> None:
    def _multipass_factor(self) -> float:
          logger.trace("Returning blurred mask. Shape: %s", blurred.shape)
          return blurred
  
      @property
    def _multipass_factor(self) -> float:
          """ For multiple passes the kernel must be scaled down. This value is
              different for box filter and gaussian """
          factor = dict(gaussian=0.8, normalized=0.5)
          return factor[self._blur_type]
  
keep keep keep keep replace keep keep keep keep keep
 lib.align updates:
  - alignments.py
    - Add typed dicts for imported alignments
    - Explicitly check for presence of thumb value in alignments dict
    - linting
  - detected_face.py
    - Typing
    - Linting
    - Legacy support for pre-aligned face
    - Update dependencies to new property names 
lib/align/detected_face.py