def _post_process(config):
    for (k, v) in config.items():
        if (v is None):
            config[k] = ''
    if config['url'].endswith('/'):
        config['url'] = config['url'][:(- 1)]
    return config
def _post_process(config):
    for (k, v) in config.items():
        if (v is None):
            config[k] = 
    if config['url'].endswith('/'):
        config['url'] = config['url'][:(- 1)]
    return config