This documentation was generated with AI assistance and is still being audited. Some, or potentially a lot, of this information may be inaccurate. Learn more.
@contextmanagerdefdeeper_validation()->Generator[None]:"""A context manager to safely increment and decrement validation depth."""token=_validation_depth.set(_validation_depth.get()+1)try:yieldfinally:_validation_depth.reset(token)