Skip to content

Commit

Permalink
fix: FeatureGroup.create() - remove unused entity id column param
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 646648227
  • Loading branch information
vertex-sdk-bot authored and copybara-github committed Jun 25, 2024
1 parent c8be56a commit c46f3e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 0 additions & 4 deletions vertexai/resources/preview/feature_store/feature_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def create(
cls,
name: str,
source: FeatureGroupBigQuerySource = None,
entity_id_columns: Optional[List[str]] = None,
labels: Optional[Dict[str, str]] = None,
description: Optional[str] = None,
project: Optional[str] = None,
Expand All @@ -107,9 +106,6 @@ def create(
Args:
name: The name of the feature group.
source: The BigQuery source of the feature group.
entity_id_columns:
The entity ID columns. If not specified, defaults to
['entity_id'].
labels:
The labels with user-defined metadata to organize your
FeatureGroup.
Expand Down
4 changes: 3 additions & 1 deletion vertexai/resources/preview/feature_store/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,7 @@ def as_dict(self) -> Dict[str, Any]:
class FeatureGroupBigQuerySource:
"""BigQuery source for the Feature Group."""

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

0 comments on commit c46f3e9

Please sign in to comment.