def METHOD_NAME():
    """
    A context manager that can be used to temporarily disable the reference index auto-update signal handlers.
    For example:
    with disable_reference_index_auto_update():
        my_instance.save()  # Reference index will not be updated by this save
    """
    try:
        reference_index_auto_update_disabled.value = True
        yield
    finally:
        del reference_index_auto_update_disabled.value