@contextmanager
def suppressed_deprecations():
    prev_enabled = _local.enabled
    _local.enabled = False
    try:
        yield
    finally:
        _local.enabled = prev_enabled
Disables deprecation messages temporarily
dataset/ETHPy150Open getlogbook/logbook/logbook/utils.py/suppressed_deprecations