Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
setters.cpython-313.pyc27 linesDownload Raw Back to __pycache__
1�

2��jQ��F�SrSSKJr SSKJr SrSrSrSr\	"5r3g)	z%4Commonly used hooks for on_setattr.5�)�_config��FrozenAttributeErrorc�^�U4SjnU$)zZ6Run all *setters* and return the return value of the last one.7 8.. versionadded:: 20.1.09c�0>�UnTHnU"XU5nM U$)N�)�instance�attrib�	new_value�rv�setter�setterss     ��RD:\code\apps\devtools\python\user_packages\Python313\site-packages\attr/setters.py�wrapped_pipe�pipe.<locals>.wrapped_pipes%���
���F���"�-�B���	�r)rrs` r�pipers�����rc��[e)z@10Prevent an attribute to be modified.11 12.. versionadded:: 20.1.013r)�_�__�___s   r�frozenrs14���rc�l�[RSLaU$URnU(dU$U"XU5 U$)zR15Run *attrib*'s validator on *new_value* if it has one.16 17.. versionadded:: 20.1.018F)r�_run_validators�	validator)r	r19r�vs    r�validater&s<�����%�'������A�����h�	�"��rc�z�URnU(a'SSKJn [X45(dU"U5$U"X U5$U$)zn20Run *attrib*'s converter -- if it has one -- on *new_value* and return the21result.22 23.. versionadded:: 20.1.024r)�	Converter)�	converter�_maker�25isinstance)r	r26r�crs     r�convertr$8s=��	���A��$��!�'�'��Y�<����f�-�-��rN)�__doc__�r�27exceptionsrrrrr$�object�NO_OPrrr�<module>r*s/����,��$��$�.	��r
codekingpro/portable-devtools · Team Ai