<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _use_provider_states( provider_state_fixtures_with_params: List[Tuple[ProviderStateFixture, Dict]] ) -> Generator: """Run all given provider states as a contextmanager."""

    with contextlib.ExitStack() as stack:
        for provider_state_fixture, params in provider_state_fixtures_with_params:
            stack.enter_context(provider_state_fixture(**params))

        yield