U
    ¾¸b|  ã                   @   s4   d dl mZmZmZ ddgZdadd„ Zdd„ ZdS )é    )Úabsolute_importÚdivisionÚprint_functionÚset_run_validatorsÚget_run_validatorsTc                 C   s   t | tƒstdƒ‚| adS )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   ú0/tmp/pip-unpacked-wheel-9rkxrohn/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)Ú
__future__r   r   r   Ú__all__r
   r   r   r   r   r   r   Ú<module>   s   