Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
Signed-off-by: Achal Shah <[email protected]>
  • Loading branch information
achals committed Jun 6, 2022
1 parent 7446c20 commit d930064
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,12 @@ def location_features_from_push(inputs: pd.DataFrame) -> pd.DataFrame:
# Register Feature View
sql_registry.apply_feature_view(location_features_from_push, project)

assert not sql_registry.get_user_metadata(project, location_features_from_push)

b = "metadata".encode("utf-8")
sql_registry.apply_user_metadata(project, location_features_from_push, b)
assert sql_registry.get_user_metadata(project, location_features_from_push) == b

feature_views = sql_registry.list_on_demand_feature_views(project)

# List Feature Views
Expand Down

0 comments on commit d930064

Please sign in to comment.