+
    i  c            
       s    ^ RI t ^ RIt^ RIHt RtRtRtRt ! R R4      tR	t	R
t
RtRtRtRt]! ^
^
^^RR7      t]	]! ]	]
]]! 4       R7      ]]! ]]]]R7      /tR# )i    N)
SoSOptionsz/etc/sos/presets.ddescnoteZargsc                   sv   a  ] tR t^t o RtRtRtRt]! 4       t	Rt
R tR tRRR]! 4       3R ltR tR	 tR
tV tR# )PresetDefaultsa]  Preset command line defaults to allow for quick reference to sets of
commonly used options

:param name: The name of the new preset
:type name: ``str``

:param desc: A description for the new preset
:type desc: ``str``

:param note: Note for the new preset
:type note: ``str``

:param opts: Options set for the new preset
:type opts: ``SoSOptions``
NTc           
         RV P                    RV P                   RV P                   R\        V P                  4       R2	# )zQReturn a human readable string representation of this
``PresetDefaults`` object.
zname=z desc=z note=z opts=())namer   r   Zstroptsself   &9/usr/lib/python3.14/site-packages/sos/presets/__init__.py__str__ZPresetDefaults.__str__4   sC     		{&6$)) ETYY(+ 	,    c           
     r   )zSReturn a machine readable string representation of this
``PresetDefaults`` object.
zPresetDefaults(name='z' desc='z' note='z' opts=(r   )r   r   r   Zreprr   r   r
   r   __repr__ZPresetDefaults.__repr__;   sD     (		{(499+ F8DO+<A? 	@r   Z c                s6    Wn         W n        W0n        W@n        R# )z}Initialise a new ``PresetDefaults`` object with the specified
arguments.

:returns: The newly initialised ``PresetDefaults``
Nr   r   r   r   )r	   r   r   r   r   s   &&&&&r   __init__ZPresetDefaults.__init__B   s     				r   c                s6   V P                   '       d   \        R4      hV P                  P                  4       pV P                  \
        V P                  \        V P                  \        V//p\        P                  P                  V4      '       g   \        P                  ! VRR7       \        \        P                  P                  WP                  4      RRR7      ;_uu_ 4       p\         P"                  ! W44       RRR4       R#   + '       g   i     R# ; i)zWrite this preset to disk in JSON notation.

:param presets_path: the directory where the preset will be written
:type presets_path: ``str``
zCannot write built-in preseti  )ZmodeZwzutf-8)ZencodingN)builtinZ	TypeErrorr   Zdictr   DESCr   NOTEr   OPTSospathZexistsZmakedirsZopenjoinjsonZdump)r	   presets_pathZodictZpdictZpfiles   &&   r   writeZPresetDefaults.writeM   s     <<<:;; 		 T499dDIItUKLww~~l++KK51"'',,|YY7"$ $',IIe#$ $ $ $s   &DD	c                s    \         P                  ! \         P                  P                  WP                  4      4       R# )ztDelete a preset from disk

:param presets_path: the directory where the preset is saved
:type presets_path: ``str``
N)r   Zunlinkr   r   r   )r	   r   s   &&r   deleteZPresetDefaults.deletea   s!     			"'',,|YY78r   )r   r   r   r   )Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   r   r   r    r   r   r   r   r   r   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      sU       DDD<D G,@ Rd 	$(9 9r   r   ZnonezDo not load a presetz+Use to disable automatically loaded presetsZminimalzCSmall and quick report that reduces sos report resource consumptionzXMay be useful for low-resource systems, but may not provide sufficient data for analysisT)Zlog_sizeZjournal_sizeZplugin_timeoutZcommand_timeoutZlow_priorityr   )r   r   Zsos.optionsr    ZPRESETS_PATHr   r   r   r   Z	NO_PRESETZNO_PRESET_DESCZNO_PRESET_NOTEZSMALL_PRESETZSMALL_PRESET_DESCZSMALL_PRESET_NOTEZSMALL_PRESET_OPTSZGENERIC_PRESETS) r   r   <module>r      s     	 "# O9 O9d 	'># <  B/1F  ~^.\ . 18I	r   