def get_class(self, platform) -> Type[Platform]:
if platform in self._classes:<EOL><INDENT>return self._classes[platform]<EOL><DEDENT>raise PlatformDoesNotExist('<STR_LIT>'<EOL>.format(platform))<EOL>
For a given platform name, gets the matching class