def _make_url(self, slug):
        if slug.startswith("http"):
            return slug
        return "{0}{1}".format(self.server_url, slug)
Ensures that the request url is valid.
dataset/ETHPy150Open JuhaniImberg/tmc.py/tmc/api.py/API._make_url