def METHOD_NAME() -> Generator[None, None, None]:
    """
    Fixture to clean any modification of the in memory config on exit
    """
    default_config_obj: DotDict | None = copy.deepcopy(qc.config.current_config)
    try:
        yield
    finally:
        qc.config.current_config = default_config_obj