
    9h                          S SK r  " S S5      rg)    Nc                   t    \ rS rSrSrSS\R                  SS4S jr\S 5       r	\	R                  S 5       r	S	rg)
MetricConfig   z Configuration values for metricsN   i0u  c                 ^    Xl         X l        X0l        X@l        U(       a  XPl        g0 U l        g)aU  
Arguments:
    quota (Quota, optional): Upper or lower bound of a value.
    samples (int, optional): Max number of samples kept per metric.
    event_window (int, optional): Max number of values per sample.
    time_window_ms (int, optional): Max age of an individual sample.
    tags (dict of {str: str}, optional): Tags for each metric.
N)quota_samplesevent_windowtime_window_mstags)selfr   samplesr
   r   r   s         cC:\Suresh\moveshuttle\MDcreated\moveengine\venv\Lib\site-packages\aiokafka/metrics/metric_config.py__init__MetricConfig.__init__   s'      
(, D	b	    c                     U R                   $ )N)r	   )r   s    r   r   MetricConfig.samples   s    }}r   c                 2    US:  a  [        S5      eXl        g )N   z)The number of samples must be at least 1.)
ValueErrorr	   )r   values     r   r   r   "   s    19HIIr   )r	   r
   r   r   r   )__name__
__module____qualname____firstlineno____doc__sysmaxsizer   propertyr   setter__static_attributes__ r   r   r   r      sK    * [[ ).   ^^ r   r   )r   r   r#   r   r   <module>r$      s    
" "r   