Viewing File: /opt/imunify360/venv/lib/python3.11/site-packages/attr/__pycache__/setters.cpython-311.pyc



]jxNdZddlmZddlmZdZdZdZdZe	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     l/builddir/build/BUILD/imunify360-venv-2.6.3/opt/imunify360/venv/lib/python3.11/site-packages/attr/setters.pywrapped_pipezpipe.<locals>.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
rvs    rvalidater'sH%''AAh	"""rc.|j}|r||S|S)z
    Run *attrib*'s converter -- if it has one --  on *new_value* and return the
    result.

    .. versionadded:: 20.1.0
    )	converter)r	r
rcs    rconvertr 9s(	Aq||rN)__doc__r
exceptionsrrrrr objectNO_OPrrr<module>r&s
,,,,,,$!!!$ 	r
Back to Directory File Manager