b 0ddlmZddlmZGddZy)) nativestr) list_to_dictcFeZdZdZgZgZdZdZdZdZ dZ dZ dZ dZ dZdZdZy)TSInfoz Hold information and statistics on the time-series. Can be created using ``tsinfo`` command https://oss.redis.com/redistimeseries/commands/#tsinfo. Nc tttt|ddd|ddd}|d|_|d|_|d|_|d|_|d|_t|d |_ |d |_ |d |_ |d |_ d |vr|d |_|jdz|_d|vr |d|_d|vrG|d|_t#|j t$k(r |j j'|_yyy)a Hold information and statistics on the time-series. The supported params that can be passed as args: rules: A list of compaction rules of the time series. sourceKey: Key name for source time series in case the current series is a target of a rule. chunkCount: Number of Memory Chunks used for the time series. memoryUsage: Total number of bytes allocated for the time series. totalSamples: Total number of samples in the time series. labels: A list of label-value pairs that represent the metadata labels of the time series. retentionTime: Retention time, in milliseconds, for the time series. lastTimestamp: Last timestamp present in the time series. firstTimestamp: First timestamp present in the time series. maxSamplesPerChunk: Deprecated. chunkSize: Amount of memory, in bytes, allocated for data. duplicatePolicy: Policy that will define handling of duplicate samples. Can read more about on https://oss.redis.com/redistimeseries/configuration/#duplicate_policy Nrrrules sourceKey chunkCount memoryUsage totalSampleslabels retentionTime lastTimestampfirstTimestampmaxSamplesPerChunk chunkSizeduplicatePolicy)dictzipmaprr source_key chunk_count memory_usage total_samplesrrretention_msecs lastTimeStampfirst_time_stampmax_samples_per_chunk chunk_sizeduplicate_policytypebytesdecode)selfargsresponses @/usr/lib/python3/dist-packages/redis/commands/timeseries/info.py__init__zTSInfo.__init__s2HC 4!95tADqDzBCg& ";/#L1$]3%n5"8H#56 '8%o6 ()9 : 8 +)12F)GD &**R/ O ( "&{3DO  ($,->$?D !D))*e3(,(=(=(D(D(F%4 ))__name__ __module__ __qualname____doc__r rr rrrrlast_time_stamprr r!r"r*r+r)rrsN E FIKLMOO J8Gr+rN)helpersrutilsrrr1r+r)r4sMGMGr+