          threshold: int, optional
              The threshold amount to minimize/maximize mask values to 0 and 100. Percentage value.
              Default: 0
          """
          logger.trace("blur_kernel: %s, threshold: %s", blur_kernel, threshold)
          if blur_type is not None:
              blur_kernel += 0 if blur_kernel == 0 or blur_kernel % 2 == 1 else 1
              self._blur["kernel"] = blur_kernel
              self._blur["type"] = blur_type
              self._blur["passes"] = blur_passes
 
</s> remove             self._blur["kernel"] = blur_kernel
            self._blur["type"] = blur_type
            self._blur["passes"] = blur_passes
 </s> add             self._blur_kernel = blur_kernel
            self._blur_type = blur_type
            self._blur_passes = blur_passes </s> remove         logger.trace(retval)
 </s> add         logger.trace(retval)  # type: ignore </s> remove                                blur_kernel=0, blur_type="gaussian", blur_passes=1, threshold=0):
 </s> add                                blur_kernel: int = 0,
                               blur_type: Optional[Literal["gaussian", "normalized"]] = "gaussian",
                               blur_passes: int = 1,
                               threshold: int = 0) -> None: </s> remove         logger.trace("Initialized: %s", self.__class__.__name__)
 </s> add         logger.trace("Initialized: %s", self.__class__.__name__)  # type: ignore </s> remove         self._blur = dict()
        self._blur_kernel = 0
 </s> add         self._blur_type: Optional[Literal["gaussian", "normalized"]] = None
        self._blur_passes: int = 0
        self._blur_kernel: Union[float, int] = 0
        logger.trace("blur_kernel: %s, blur_type: %s, blur_passes: %s, ",  # type: ignore
                     "threshold: %s", blur_kernel, blur_type, blur_passes, threshold)
          threshold: int, optional
              The threshold amount to minimize/maximize mask values to 0 and 100. Percentage value.
              Default: 0
          """
        logger.trace("blur_kernel: %s, blur_type: %s, blur_passes: %s, ",  # type: ignore
                     "threshold: %s", blur_kernel, blur_type, blur_passes, threshold)
          if blur_type is not None:
              blur_kernel += 0 if blur_kernel == 0 or blur_kernel % 2 == 1 else 1
              self._blur["kernel"] = blur_kernel
              self._blur["type"] = blur_type
              self._blur["passes"] = blur_passes
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