Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Chiao <[email protected]>
  • Loading branch information
adchia committed Aug 10, 2022
1 parent 73d5b93 commit a957e10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/python/feast/on_demand_feature_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def __init__( # noqa: C901
]
],
udf: FunctionType,
udf_string: str,
udf_string: str = "",
description: str = "",
tags: Optional[Dict[str, str]] = None,
owner: str = "",
Expand Down Expand Up @@ -140,6 +140,7 @@ def __copy__(self):
sources=list(self.source_feature_view_projections.values())
+ list(self.source_request_sources.values()),
udf=self.udf,
udf_string=self.udf_string,
description=self.description,
tags=self.tags,
owner=self.owner,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def conv_rate_plus_100_feature_view(
schema=[] if infer_features else _features,
sources=sources,
udf=conv_rate_plus_100,
udf_string="raw udf source",
)


Expand Down Expand Up @@ -106,6 +107,7 @@ def similarity_feature_view(
sources=sources,
schema=[] if infer_features else _fields,
udf=similarity,
udf_string="similarity raw udf",
)


Expand Down

0 comments on commit a957e10

Please sign in to comment.