Redundant wait and index params in event.list() API
In Event.list method we are creating wait and index parameters:
https://github.com/cablehead/python-consul/blob/41b7c8c4b6caf7d32b2a073fd74fdc631de09e1a/consul/base.py#L452-L460
But in documentation no such parameters are present: https://www.consul.io/api/event.html#list-events
Is this something coming from older versions of Consul? I haven't found any mention about it. Or is this bug and we need to remove this params? Can anyone help?
@matusvalo and https://github.com/hashicorp/consul/blob/66d138f35e2cc5548412a55362a7bcedbe198888/api/event.go#L69 https://github.com/hashicorp/consul/blob/66d138f35e2cc5548412a55362a7bcedbe198888/agent/event_endpoint.go#L74 https://github.com/hashicorp/consul/blob/66d138f35e2cc5548412a55362a7bcedbe198888/api/api.go#L631