def _url_escape(self, url):
        try:
            import urllib
            return urllib.quote(url)
        except __HOLE__:
            import urllib.parse
            return urllib.parse.quote(url)
dataset/ETHPy150Open keenlabs/KeenClient-Python/keen/client.py/KeenClient._url_escape