def clean(self):
        for k in self.asset.keys():
            if isinstance(self.asset[k], dict) and len(self.asset[k].keys()) == 0:
                del self.asset[k]
            elif isinstance(self.asset[k], list) and len(self.asset[k]) == 0:
                del self.asset[k]
Quote the query fragment of a URL; replacing ' ' with '+'
dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py/JsonAsset.clean--crossover with--dataset/ETHPy150Open kleientertainment/ds_mod_tools/pkg/win32/Python27/Lib/urllib.py/quote_plus