| Server IP : 173.249.148.11 / Your IP : 216.73.216.179 Web Server : Apache/2.4.68 (AlmaLinux) System : Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64 User : devinter ( 1006) PHP Version : 8.3.35 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /snap/core24/current/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 '