+
    G%@i              
           ^ 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# )    N)
SoSOptionsz/etc/sos/presets.ddescnoteargsc                   v   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   stroptsselfs   &6/usr/lib/python3/dist-packages/sos/presets/__init__.py__str__PresetDefaults.__str__4   sC     		{&6$)) ETYY(+ 	,    c           
         RV P                    RV P                   RV P                   R\        V P                  4       R2	# )zSReturn a machine readable string representation of this
``PresetDefaults`` object.
zPresetDefaults(name='z' desc='z' note='z' opts=(r
   )r   r   r   reprr   r   s   &r   __repr__PresetDefaults.__repr__;   sD     (		{(499+ F8DO+<A? 	@r    c                6    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__PresetDefaults.__init__B   s     				r   c                6   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  )modewzutf-8)encodingN)builtin	TypeErrorr   dictr   DESCr   NOTEr   OPTSospathexistsmakedirsopenjoinjsondump)r   presets_pathodictpdictpfiles   &&   r   writePresetDefaults.writeM   s     <<<:;; 		 T499dDIItUKLww~~l++KK51"'',,|YY7"$ $',IIe#$ $ $ $s   &DD	c                    \         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'   unlinkr(   r,   r   )r   r/   s   &&r   deletePresetDefaults.deletea   s!     			"'',,|YY78r   )r   r   r   r   )__name__
__module____qualname____firstlineno____doc__r   r   r   r   r   r!   r   r   r   r3   r7   __static_attributes____classdictcell__)__classdict__s   @r   r   r      sU       DDD<D G,@ Rd 	$(9 9r   r   nonezDo not load a presetz+Use to disable automatically loaded presetsminimalzCSmall and quick report that reduces sos report resource consumptionzXMay be useful for low-resource systems, but may not provide sufficient data for analysisT)log_sizejournal_sizeplugin_timeoutcommand_timeoutlow_priorityr   )r-   r'   sos.optionsr   PRESETS_PATHr$   r%   r&   r   	NO_PRESETNO_PRESET_DESCNO_PRESET_NOTESMALL_PRESETSMALL_PRESET_DESCSMALL_PRESET_NOTESMALL_PRESET_OPTSGENERIC_PRESETS r   r   <module>rS      s     	 "# O9 O9d 	'># <  B/1F  ~^.\ . 18I	r   