Exemple #1
0
def put(id_settings, json_data):
    rep = rest_crud.put(get_end_point(id_settings),
                        fill_default_fields(json_data))
    tools.get_id_and_print_json(rep)
def put(__id, json_data):
    json_data = set_empty_fields_with_blank(json_data)
    rep = rest_crud.put(get_end_point(__id), json_data)
    tools.get_id_and_print_json(rep)
Exemple #3
0
def put(__id, description, quality_status, rename):
    json_data = create_json(rename, description, quality_status)
    json_data = set_empty_fields_with_blank(json_data)
    rep = rest_crud.put(get_end_point(__id), json_data)
    tools.get_id_and_print_json(rep)