hyb
2025-11-18 7539e6f48c75dcaeb808359cccfd1c0d0d182ce8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Ë
 
çúh— ãó0—ddlmZddlmZGd„d«Zy)é)Ú    nativestré)Ú list_to_dictcóR—eZdZdZgZgZdZdZdZdZ    dZ
dZ dZ dZ dZdZd„Zd„Zd„Zy)ÚTSInfozœ
    Hold information and statistics on the time-series.
    Can be created using ``tsinfo`` command
    https://redis.io/docs/latest/commands/ts.info/
    Nc óò—tttt|ddd…«|ddd…««}|j    d«|_|j    d«|_|j    d«|_|j    d«|_|j    d«|_    t|j    d    ««|_ |j    d
«|_ |j    d «|_ |j    d «|_d |vr|d |_|jdz|_d|vr
|d|_d|vrE|d|_t%|j"t&«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://redis.io/docs/latest/develop/data-types/timeseries/configuration/#duplicate_policy
        NrrÚrulesÚ    sourceKeyÚ
chunkCountÚ memoryUsageÚ totalSamplesÚlabelsÚ retentionTimeÚ lastTimestampÚfirstTimestampÚmaxSamplesPerChunkéÚ    chunkSizeÚduplicatePolicy)ÚdictÚzipÚmaprÚgetr    Ú
source_keyÚ chunk_countÚ memory_usageÚ total_samplesrrÚretention_msecsÚlast_timestampÚfirst_timestampÚmax_samples_per_chunkÚ
chunk_sizeÚduplicate_policyÚ
isinstanceÚbytesÚdecode)ÚselfÚargsÚresponses   õqH:\项目\archive\测试组\脚本\Change_password\venv_build\Lib\site-packages\redis/commands/timeseries/info.pyÚ__init__zTSInfo.__init__sS€ôHœœC¤    ¨4±°!°©9Ó5°t¸A¸D¸q¸D±zÓBÓCˆØ—\‘\ 'Ó*ˆŒ
Ø"Ÿ,™, {Ó3ˆŒØ#Ÿ<™<¨ Ó5ˆÔØ$ŸL™L¨Ó7ˆÔØ%Ÿ\™\¨.Ó9ˆÔÜ" 8§<¡<°Ó#9Ó:ˆŒ Ø'Ÿ|™|¨OÓ<ˆÔØ&Ÿl™l¨?Ó;ˆÔØ'Ÿ|™|Ð,<Ó=ˆÔØ  8Ñ +Ø)1Ð2FÑ)GˆDÔ &à×*Ñ*¨RÑ/ð ŒOð ˜(Ñ "Ø& {Ñ3ˆDŒOØ  Ñ (Ø$,Ð->Ñ$?ˆDÔ !ܘ$×/Ñ/´Ô7Ø(,×(=Ñ(=×(DÑ(DÓ(FÕ%ð8ð )ócóD—    |j|«S#t$rYywxYw©N)Ú __getitem__ÚAttributeError©r'Úitems  r*rz
TSInfo.getTs*€ð    Ø×#Ñ# DÓ)Ð )øÜò    Ùð    ús ‚“    žcó—t||«Sr.)Úgetattrr1s  r*r/zTSInfo.__getitem__Zs€Üt˜TÓ"Ð"r,)Ú__name__Ú
__module__Ú __qualname__Ú__doc__r    rr
rrrrÚlast_time_stampÚfirst_time_stampr!r"r#r+rr/©r,r*rrsY„ñð €EØ €FØ€IØ€KØ€LØ€MØ€OØ€OØÐà ÐØ€JØÐò8Gòtó #r,rN)ÚhelpersrÚutilsrrr;r,r*ú<module>r>sðÝÝ÷V#òV#r,