HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //opt/cloudlinux/venv/lib/python3.11/site-packages/svgwrite/__pycache__/params.cpython-311.pyc
�

�ho��.�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   �F/opt/cloudlinux/venv/lib64/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