1414from pytz import utc
1515
1616import feast .driver_test_data as driver_data
17- from feast import errors , utils
17+ from feast import errors , utils , RepoConfig
1818from feast .data_source import BigQuerySource , FileSource
1919from feast .entity import Entity
2020from feast .feature import Feature
2121from feast .feature_store import FeatureStore
2222from feast .feature_view import FeatureView
2323from feast .infra .online_stores .sqlite import SqliteOnlineStoreConfig
2424from feast .infra .provider import DEFAULT_ENTITY_DF_EVENT_TIMESTAMP_COL
25- from feast .repo_config import BigQueryOfflineStoreConfig , create_repo_config
25+ from feast .repo_config import BigQueryOfflineStoreConfig
2626from feast .value_type import ValueType
2727
2828np .random .seed (0 )
@@ -270,7 +270,7 @@ def test_historical_features_from_parquet_sources(infer_event_timestamp_col):
270270 customer = Entity (name = "customer_id" , value_type = ValueType .INT64 )
271271
272272 store = FeatureStore (
273- config = create_repo_config (
273+ config = RepoConfig (
274274 registry = os .path .join (temp_dir , "registry.db" ),
275275 project = "default" ,
276276 provider = "local" ,
@@ -375,7 +375,7 @@ def test_historical_features_from_bigquery_sources(
375375
376376 if provider_type == "local" :
377377 store = FeatureStore (
378- config = create_repo_config (
378+ config = RepoConfig (
379379 registry = os .path .join (temp_dir , "registry.db" ),
380380 project = "default" ,
381381 provider = "local" ,
@@ -389,7 +389,7 @@ def test_historical_features_from_bigquery_sources(
389389 )
390390 elif provider_type == "gcp" :
391391 store = FeatureStore (
392- config = create_repo_config (
392+ config = RepoConfig (
393393 registry = os .path .join (temp_dir , "registry.db" ),
394394 project = "" .join (
395395 random .choices (string .ascii_uppercase + string .digits , k = 10 )
@@ -402,7 +402,7 @@ def test_historical_features_from_bigquery_sources(
402402 )
403403 elif provider_type == "gcp_custom_offline_config" :
404404 store = FeatureStore (
405- config = create_repo_config (
405+ config = RepoConfig (
406406 registry = os .path .join (temp_dir , "registry.db" ),
407407 project = "" .join (
408408 random .choices (string .ascii_uppercase + string .digits , k = 10 )
0 commit comments