Skip to content

Commit

Permalink
chore: lint error
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Chiao <[email protected]>
  • Loading branch information
adchia committed Aug 15, 2022
1 parent ac782bf commit bafa520
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sdk/python/feast/on_demand_feature_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@ def __init__( # noqa: C901
odfv_source.name
] = odfv_source.projection

if _udf is None:
raise ValueError("The `udf` parameter must be specified.")
assert _udf

self.udf = udf # type: ignore
self.udf_string = udf_string

Expand Down

0 comments on commit bafa520

Please sign in to comment.