attrs/changelog.d/859.change.rst

5 lines
290 B
ReStructuredText
Raw Normal View History

Added new context manager ``attr.validators.disabled()`` and functions ``attr.validators.(set|get)_disabled()``.
They deprecate ``attr.(set|get)_run_validators()``.
All functions are interoperable and modify the same internal state.
They are not and never were thread-safe, though.