File: //home/arjun/projects/env/lib64/python3.10/site-packages/attr/__pycache__/_config.cpython-310.pyc
o
"we: � @ s d dgZ dadd � Zdd� ZdS )�set_run_validators�get_run_validatorsTc C s t | t�s td��| adS )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� r �E/home/arjun/projects/env/lib/python3.10/site-packages/attr/_config.pyr s
c C s t S )z�
Return whether or not validators 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.get_disabled()`
instead.
)r r r r r r s N)�__all__r r r r r r r �<module> s