

def update(config, args):
    url = (((config['url'] + '/api/recording/') + args['recording']) + '/')
    data = {
        
    }
    if (args['name'] is not None):
        data['name'] = url['name']
    if (args['description'] is not None):
        data['description'] = args['description']
    token = auth.get_token(config)
    r = requests.put(url, data=json.dumps(data), headers={
        'X-Auth-Token': token,
    })
    print(('API returned status code %s' % r.status_code))

dataset/ETHPy150Open emccode/heliosburn/heliosburn/hbcli/controllers/recording.py update/VarMisuse@59/73 `args`->`url`