o
    è¯ªgK  ã                   @   s    d dgZ dadd„ Zdd „ ZdS )Úget_run_validatorsÚset_run_validatorsTc                 C   s   t | tƒsd}t|ƒ‚| 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Úmsg© r	   úH/var/www/html/chatdoc2/venv/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   