c iQNdZddlmZddlmZdZdZdZdZe Z dS) z% Commonly used hooks for on_setattr. )_configFrozenAttributeErrorcfd}|S)zf Run all *setters* and return the return value of the last one. .. versionadded:: 20.1.0 c0|}D]}||||}|S)N)instanceattrib new_valuervsettersetterss \/home/jenkins/workspace/simtester-sanitize/venv/lib/python3.11/site-packages/attr/setters.py wrapped_pipezpipe..wrapped_pipes1  . .F&"--BB r)rrs` rpiper s$ rct)zL Prevent an attribute to be modified. .. versionadded:: 20.1.0 r)______s rfrozenrs rcVtjdur|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 rvalidater&sH %''A Ah """ rct|j}|r.ddlm}t||s ||S||||S|S)z~ Run *attrib*'s converter -- if it has one -- on *new_value* and return the result. .. versionadded:: 20.1.0 r) Converter) converter_maker isinstance)r r r crs rconvertr#8s` A.$$$$$$!Y'' 1Y<< qHf--- rN) __doc__r exceptionsrrrrr#objectNO_OPrrrr)s,,,,,,$$. r