MQTT (client.send)

I’m having an issue with the ttn python library - MQTT client.send method.
The documentation states the usage below, however, Python complains about the “confirmation” argument. It works if you drop the “confirmation” and “schedule” arguments i.e.
client.send(dev_id, payload, port=1) # This works
client.send(dev_id, payload, port=1, confirmation=False, schedule=“replace”) # This doesn’t work
Anyone, come across this issue?

image