  
  if sys.version_info < (3, 8):
      from typing_extensions import Literal
  else:
      from typing import Literal
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  CenteringType = Literal["face", "head", "legacy"]
  
 
</s> remove     from typing_extensions import Literal
 </s> add     from typing_extensions import get_args, Literal </s> remove         if self._is_aligned and self._centering != "head":  # Crop out the sub face from full head
 </s> add         if self._is_aligned and (self._centering != self._source_centering or
                                 self._coverage_ratio != 1.0):
            # Crop out the sub face from full head
    from typing import get_args, Literal
  
  if sys.version_info < (3, 8):
      from typing_extensions import Literal
  else:
    from typing import get_args, Literal
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  CenteringType = Literal["face", "head", "legacy"]
  
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