For a given platform name, gets the matching class

def get_class(self, platform) -> Type[Platform]:
        """
        For a given platform name, gets the matching class
        """

        if platform in self._classes:
            return self._classes[platform]

        raise PlatformDoesNotExist('Platform "{}" is not in configuration'
                                   .format(platform))