| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/attr/__pycache__/ |
Upload File : |
�
�cx � �N � d Z ddlmZ ddlmZ d� Zd� Zd� Zd� Z e � � Z
dS ) z%
Commonly used hooks for on_setattr.
� )�_config��FrozenAttributeErrorc � � � � fd�}|S )zf
Run all *setters* and return the return value of the last one.
.. versionadded:: 20.1.0
c �0 �� |}�D ]} || ||� � }�|S )N� )�instance�attrib� new_value�rv�setter�setterss ��./usr/lib/python3/dist-packages/attr/setters.py�wrapped_pipezpipe.<locals>.wrapped_pipe s1 �� �
��� .� .�F����&�"�-�-�B�B�� � r )r r s ` r �piper s$ �� �� � � � � �r c � � t � � �)zL
Prevent an attribute to be modified.
.. versionadded:: 20.1.0
r )�_�__�___s r �frozenr s � � �
�
� r c �V � t j du r|S |j }|s|S || ||� � |S )z^
Run *attrib*'s validator on *new_value* if it has one.
.. versionadded:: 20.1.0
F)r �_run_validators� validator)r r
r �vs r �validater '