@staticmethod
    def _quote_url(string):
        return quote(string.encode('utf-8'))
Make a string suitable for insertion into a URL
dataset/ETHPy150Open photo/openphoto-python/trovebox/api/api_base.py/ApiBase._quote_url