| Server IP : 198.244.165.102 / Your IP : 216.73.216.218 [ Web Server : nginx/1.24.0 System : Linux modovh-ub-01 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : colleary ( 1011) PHP Version : 8.3.23 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/attr/__pycache__/ |
Upload File : |
�
��ex � �F � d Z ddlmZ ddlmZ d� Zd� Zd� Zd� Z e � Z
y) 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 �. �� |}�D ] } || ||� }� |S )N� )�instance�attrib� new_value�rv�setter�setterss ��./usr/lib/python3/dist-packages/attr/setters.py�wrapped_pipezpipe.<locals>.wrapped_pipe s, �� �
��� .�F���&�"�-�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 �b � 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 '