Skip to content

Commit 99e5d25

Browse files
committed
chore: lint error
Signed-off-by: Danny Chiao <danny@tecton.ai>
1 parent 8c06829 commit 99e5d25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sdk/python/feast/on_demand_feature_view.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ def __init__( # noqa: C901
235235
odfv_source.name
236236
] = odfv_source.projection
237237

238+
if _udf is None:
239+
raise ValueError("The `udf` parameter must be specified.")
240+
assert _udf
238241
self.udf = udf # type: ignore
239242
self.udf_string = udf_string
240243

0 commit comments

Comments
 (0)