Current File : //proc/self/root/usr/lib/python3/dist-packages/attr/__pycache__/_config.cpython-312.pyc |
�
��eK � � � d dgZ dad� Zd� Zy)�set_run_validators�get_run_validatorsTc �B � t | t � s
d}t |� �| ay)z�
Set whether or not validators are run. By default, they are run.
.. deprecated:: 21.3.0 It will not be removed, but it also will not be
moved to new ``attrs`` namespace. Use `attrs.validators.set_disabled()`
instead.
z'run' must be bool.N)�
isinstance�bool� TypeError�_run_validators)�run�msgs �./usr/lib/python3/dist-packages/attr/_config.pyr r s"