                       x, w, y, h, landmarks_xy,
                       {k: v.shape for k, v in mask} if mask is not None else mask,
                       filename)
          self.image = image
          self.x = x  # pylint:disable=invalid-name
          self.w = w  # pylint:disable=invalid-name
          self.y = y  # pylint:disable=invalid-name
          self.h = h  # pylint:disable=invalid-name
          self.landmarks_xy = landmarks_xy
          self.thumbnail = None
          self.mask = dict() if mask is None else mask
  
          self.aligned = None
          logger.trace("Initialized %s", self.__class__.__name__)
  
      @property
 
</s> remove                      image.shape if image is not None and image.any() else image,
                     x, w, y, h, landmarks_xy,
                     {k: v.shape for k, v in mask} if mask is not None else mask,
                     filename)
 </s> add                      image.shape if image is not None and image.any() else image, left, width, top,
                     height, landmarks_xy, mask, filename) </s> remove         self.aligned = None
        logger.trace("Initialized %s", self.__class__.__name__)
 </s> add         self._aligned: Optional[AlignedFace] = None
        logger.trace("Initialized %s", self.__class__.__name__)  # type: ignore </s> remove     def __init__(self, image=None, x=None, w=None, y=None, h=None, landmarks_xy=None, mask=None,
                 filename=None):
        logger.trace("Initializing %s: (image: %s, x: %s, w: %s, y: %s, h:%s, landmarks_xy: %s, "
                     "mask: %s, filename: %s)",
 </s> add     def __init__(self,
                 image: Optional[np.ndarray] = None,
                 left: Optional[int] = None,
                 width: Optional[int] = None,
                 top: Optional[int] = None,
                 height: Optional[int] = None,
                 landmarks_xy: Optional[np.ndarray] = None,
                 mask: Optional[Dict[str, "Mask"]] = None,
                 filename: Optional[str] = None) -> None:
        logger.trace("Initializing %s: (image: %s, left: %s, width: %s, top: %s, "  # type: ignore
                     "height: %s, landmarks_xy: %s, mask: %s, filename: %s)", </s> remove             self.thumbnail = alignment.get("thumb", None)
 </s> add             self.thumbnail = alignment.get("thumb") </s> remove             self.mask = dict()
 </s> add             self.mask = {}
        self.left = left
        self.width = width
        self.top = top
        self.height = height
        self._landmarks_xy = landmarks_xy
        self.thumbnail: Optional[np.ndarray] = None
        self.mask = {} if mask is None else mask
                       x, w, y, h, landmarks_xy,
                       {k: v.shape for k, v in mask} if mask is not None else mask,
                       filename)
          self.image = image
        self.left = left
        self.width = width
        self.top = top
        self.height = height
        self._landmarks_xy = landmarks_xy
        self.thumbnail: Optional[np.ndarray] = None
        self.mask = {} if mask is None else mask
        self.left = left
        self.width = width
        self.top = top
        self.height = height
        self._landmarks_xy = landmarks_xy
        self.thumbnail: Optional[np.ndarray] = None
        self.mask = {} if mask is None else mask
        self.left = left
        self.width = width
        self.top = top
        self.height = height
        self._landmarks_xy = landmarks_xy
        self.thumbnail: Optional[np.ndarray] = None
        self.mask = {} if mask is None else mask
        self.left = left
        self.width = width
        self.top = top
        self.height = height
        self._landmarks_xy = landmarks_xy
        self.thumbnail: Optional[np.ndarray] = None
        self.mask = {} if mask is None else mask
        self.left = left
        self.width = width
        self.top = top
        self.height = height
        self._landmarks_xy = landmarks_xy
        self.thumbnail: Optional[np.ndarray] = None
        self.mask = {} if mask is None else mask
        self.left = left
        self.width = width
        self.top = top
        self.height = height
        self._landmarks_xy = landmarks_xy
        self.thumbnail: Optional[np.ndarray] = None
        self.mask = {} if mask is None else mask
        self.left = left
        self.width = width
        self.top = top
        self.height = height
        self._landmarks_xy = landmarks_xy
        self.thumbnail: Optional[np.ndarray] = None
        self.mask = {} if mask is None else mask
  
          self.aligned = None
          logger.trace("Initialized %s", self.__class__.__name__)
  
      @property
keep keep keep keep replace replace replace replace replace replace 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