Skip to content

Commit c46f3e9

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
fix: FeatureGroup.create() - remove unused entity id column param
PiperOrigin-RevId: 646648227
1 parent c8be56a commit c46f3e9

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

vertexai/resources/preview/feature_store/feature_group.py

-4
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ def create(
9292
cls,
9393
name: str,
9494
source: FeatureGroupBigQuerySource = None,
95-
entity_id_columns: Optional[List[str]] = None,
9695
labels: Optional[Dict[str, str]] = None,
9796
description: Optional[str] = None,
9897
project: Optional[str] = None,
@@ -107,9 +106,6 @@ def create(
107106
Args:
108107
name: The name of the feature group.
109108
source: The BigQuery source of the feature group.
110-
entity_id_columns:
111-
The entity ID columns. If not specified, defaults to
112-
['entity_id'].
113109
labels:
114110
The labels with user-defined metadata to organize your
115111
FeatureGroup.

vertexai/resources/preview/feature_store/utils.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,7 @@ def as_dict(self) -> Dict[str, Any]:
170170
class FeatureGroupBigQuerySource:
171171
"""BigQuery source for the Feature Group."""
172172

173+
# The URI for the BigQuery table/view.
173174
uri: str
174-
entity_id_columns: List[str]
175+
# The entity ID columns. If not specified, defaults to ['entity_id'].
176+
entity_id_columns: Optional[List[str]] = None

0 commit comments

Comments
 (0)