def fixture_reset_config() -> t.Generator[None, None, None]:
    """Reset BentoML config to default."""
    before = BentoMLContainer.config.get()
    try:
        yield
    finally:
        BentoMLContainer.config.set(before)
Reset BentoML config to default.
src/bentoml/testing/pytest/plugin.py