Skip to content

Commit

Permalink
fixed new metadata field
Browse files Browse the repository at this point in the history
  • Loading branch information
RowanMankoo committed May 14, 2024
1 parent 7e547f9 commit 0ec8749
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion protos/feast/core/FeatureService.proto
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ message FeatureServiceSpec {
// (optional) if provided logging will be enabled for this feature service.
LoggingConfig logging_config = 7;

// User defined metadata
// Hidden User defined metadata
map<string,string> metadata = 8;
}

Expand Down
2 changes: 2 additions & 0 deletions sdk/python/feast/feature_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def __init__(
description: str = "",
owner: str = "",
logging_config: Optional[LoggingConfig] = None,
metadata: Optional[Dict[str, Any]] = None,
):
"""
Creates a FeatureService object.
Expand All @@ -83,6 +84,7 @@ def __init__(
self.created_timestamp = None
self.last_updated_timestamp = None
self.logging_config = logging_config
self.metadata = metadata
for feature_grouping in self._features:
if isinstance(feature_grouping, BaseFeatureView):
self.feature_view_projections.append(feature_grouping.projection)
Expand Down

0 comments on commit 0ec8749

Please sign in to comment.