File: //var/opt/nydus/ops/attr/__pycache__/_config.cpython-39.pyc
a
�,�hK � @ s d dgZ dadd� Zdd � ZdS )�get_run_validators�set_run_validatorsTc C s t | t�sd}t|��| 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�msg� r �=/opt/nydus/tmp/pip-target-wkfpz8uv/lib/python/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