Skip to content

Commit 9a0398e

Browse files
authored
fix: Fixes validator field access for 'project_id' in BigQuery offline Store (#4509)
Fixes validator field access for 'billing_project_id' in BigQuery Offline Store Signed-off-by: gesche <26026582+jgesche@users.noreply.github.com>
1 parent 163d34f commit 9a0398e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/python/feast/infra/offline_stores/bigquery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class BigQueryOfflineStoreConfig(FeastConfigBaseModel):
114114

115115
@field_validator("billing_project_id")
116116
def project_id_exists(cls, v, values, **kwargs):
117-
if v and not values["project_id"]:
117+
if v and not values.data["project_id"]:
118118
raise ValueError(
119119
"please specify project_id if billing_project_id is specified"
120120
)

0 commit comments

Comments
 (0)