I have a member variable;
valid_add_customer_request = {
"client": {0},
"name": "CustomerName",
"account_number": "W/L141123512",
"mobile_number": "1232 414122",
"landline_number": "1234515123",
"email": "CustomerName@email.com"
}
Where the client is an id of another object. Ideally I'd like to do something like but because the variable is a dictionary this isn't possible.
valid_add_customer_request.format(1)
Is there a clean way of achieving the above.