+
     Gi  c                   s    ^ RI Ht ^ RIHt ^ RIHt ^ RIt^ RIH	t	 ]P                  P                  4       t ! R R]4      tR# )i    )ClassLoader)Parser)FunctionNc                   sd   a a ] tR t^	t oRtV 3R lt]R 4       tR tR t	R t
R tR tR	tVtV ;t# )

Repositoryzh
Repository of functions used within TuneD profiles.
The functions are loaded lazily (when first used).
c                s:   < \         \        V `  4        / V n        R # N)Zsuperr   __init__
_functions)self	__class__s   &H/usr/lib/python3.14/site-packages/tuned/profiles/functions/repository.pyr   ZRepository.__init__   s    
D"$$/    c                s    V P                   # r   )r   r      &r	   	functionsZRepository.functions   s    	r
   c                sT    R V n         \        P                  V n        \        V n        R# )ztuned.profiles.functionsN)
_namespaceconstsZFUNCTION_PREFIX_prefixr   
_interfacer   r   r	   _set_loader_parametersZ!Repository._set_loader_parameters   s    .$/''$,$/r
   c                s    \         P                  R V,          4       V P                  V4      pV! 4       pW0P                  V&   V# )zcreating function %s)logdebugZ
load_classr   )r   function_nameZfunction_clsZfunction_instance   &&  r	   createZRepository.create   s<    ))"]23/,"n#4//- 	r
   c                sj    WP                   9   g   V P                  V4      # V P                   V,          # r   )r   r   )r   r      &&r	   	load_funcZRepository.load_func%   s*    	//	)
++m
$$		''r
   c                s    \        WP                  4      '       g   Q h\        P                  R V,          4       \	        V P
                  P                  4       4       F  w  r#W18X  g   K  V P
                  V K  	  R# )zremoving function %sN)Z
isinstancer   r   r   Zlistr   Zitems)r   ZfunctionZkZvr   r	   deleteZRepository.delete*   sX    	Hoo	.	..	.))"X-.4??((*+dam ,r
   c                s6    \        V 4      P                  V4      # r   )r   expand)r   Zsr   r	   r   ZRepository.expand1   s    			Q	r
   )r   r   r   r   )Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   Zpropertyr   r   r   r   r   r   Z__static_attributes__Z__classdictcell__Z__classcell__)r   Z__classdict__s   @@r	   r   r   	   sA     
  
(
   r
   r   )Ztuned.utils.class_loaderr    Ztuned.profiles.functions.parserr   Ztuned.profiles.functions.baser   Z
tuned.logsZtunedZtuned.constsr   ZlogsZgetr   r   ) r
   r	   <module>r      s0    0 2 2  jjnn)  ) r
   