def update_vehicle(self, *, vehicle_id, category, make, model, register_number, gear_box): VehicleProxy.update_vehicle( Vehicle.category_validator(category), Vehicle.make_validator(make), Vehicle.model_validator(model), Vehicle.register_number_validator(register_number), Vehicle.gear_box_validator(gear_box), Vehicle.id_validator(vehicle_id) )
def delete_vehicle(self, vehicle_id): VehicleProxy.delete_vehicle(Vehicle.id_validator(vehicle_id))