HEX
Server: LiteSpeed
System: Linux ws4.angoweb.net 5.14.0-611.13.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 11 04:57:59 EST 2025 x86_64
User: tswangoe (2287)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
Upload Files
File: //opt/cloudlinux/venv/lib64/python3.11/site-packages/svgwrite/__pycache__/params.cpython-311.pyc
�

m�Db�5����.�ddlmZGd�de��ZdS)�)�
get_validatorc��eZdZdZgd�Zd
d�Zd�Zed���Zej	d���Zd	�Z
ed
���Zej	d���ZdS)�	Parametera
    .. attribute:: Parameter.debug

       *read/write* property

       * *True* : debug mode is on, all SVG attributes are checked if valid
         in the element context. Also the included SVG subelements will be
         checked if they are valid for the parent SVG element.

       * *False*: no validation checks will be done, but program execution is
         faster.

    .. attribute:: Parameter.profile

       *read/write* property

       name of the SVG profile, valid profiles are: ``'full|basic|tiny'``
    )�_debug�	validator�_profileT�fullc�"�||_||_dS�N)r�profile)�self�debugrs   �`/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/svgwrite/params.py�__init__zParameter.__init__!s����������c�D�t|j|j��|_dSr)rrrr�r
s r�_init_validatorzParameter._init_validator%s��&�t�|�d�j�A�A����rc��|jSr)rrs rrzParameter.debug(s
���{�rc�<�||_|���dSr)rr)r
rs  rrzParameter.debug,s!������������rc� �|jdkrdSdS)N�tinyz1.2z1.1�rrs r�get_versionzParameter.get_version1s���=�F�"�"��5��5rc��|jSrrrs rrzParameter.profile7s
���}�rc��|���}|dvr||_|���dStd|z���)zt
        :param string profile: name of the SVG profile, valid profiles are:
        ``'full|basic|tiny'``

        )r�basicr	z'%s' is not a valid profile.N)�lowerrr�
ValueError)r
rs  rrzParameter.profile;sP���-�-�/�/���/�/�/�#�D�M�� � �"�"�"�"�"��;�g�E�F�F�FrN)Tr	)�__name__�
__module__�__qualname__�__doc__�	__slots__rr�propertyr�setterrr�rrrrs���������$4�3�3�I�����B�B�B�����X���\����\���������X��
�^�G�G��^�G�G�GrrN)�svgwrite.validator2r�objectrr'rr�<module>r*sW��.�-�-�-�-�-�;G�;G�;G�;G�;G��;G�;G�;G�;G�;Gr