:calls: `PUT /repos/:owner/:repo/topics <http://developer.github.com/v3/repos>`_
        :param topics: list of strings
        :rtype: None

def replace_topics(self, topics):
        """
        :calls: `PUT /repos/:owner/:repo/topics <http://developer.github.com/v3/repos>`_
        :param topics: list of strings
        :rtype: None
        """
        post_parameters = {
            'names': topics
        }
        headers, data = self._requester.requestJsonAndCheck(
            "PUT",
            self.url + "/topics",
            headers={'Accept': Consts.mediaTypeTopicsPreview},
            input=post_parameters
        )