from pathlib import Path


def ds_kwargs(pudl_settings_fixture, request):
    """Return a dictionary of keyword args for creating a PUDL datastore."""
    return dict(
        gcs_cache_path=request.config.getoption("--gcs-cache-path"),
        local_cache_path=Path(pudl_settings_fixture["pudl_in"]) / "data",
        sandbox=pudl_settings_fixture["sandbox"],
    )