The redis-cli documentation for TS.INCRBY states
TS.INCRBY key value [TIMESTAMP timestamp] [RETENTION retentionTime] [UNCOMPRESSED] [LABELS label value..]
However the python client signature for the method is
def incrby(self, key, value, time_bucket=None, retention_msecs=None, uncompressed=False, labels={}):
“”"
Increases latest value inkey
byvalue
.
timeBucket
resets counter. In milliseconds.
Ifkey
is created,retention_msecs
andlabels
are
applied.
“”"
which suggests it doesn’t support the TIMESTAMP argument… Can this be confirmed? If it does support it, how would one go about using it?
The documentation on the python client is a bit lacking :-/