code: def _get_pants_target_alias(self, pants_target_type):
      
      if pants_target_type in self.target_aliases_map:
        return self.target_aliases_map.get(pants_target_type)
      else:
        return "{}.{}".format(pants_target_type.__module__, pants_target_type.__name__)
docs: Returns the pants target alias for the given target