def resolve_resource_type(self, resource_dict):
if not self.can_resolve(resource_dict):<EOL><INDENT>raise TypeError("<STR_LIT>".format(<EOL>resource_dict.get('<STR_LIT>')))<EOL><DEDENT>if resource_dict['<STR_LIT>'] not in self.resource_types:<EOL><INDENT>raise TypeError("<STR_LIT>".format(resource_type=resource_dict['<STR_LIT>']))<EOL><DEDENT>return self.resource_types[resource_dict['<STR_LIT>']]<EOL>
Returns the Resource class corresponding to the 'Type' key in the given resource dict.

        :param dict resource_dict: the resource dict to resolve
        :returns: the resolved Resource class
        :rtype: class