Visitar URL original
fix: cast resolve_udf result to FunctionType for mypy · feast-dev/feast@708ff26 · GitHub
Skip to content

Commit 708ff26

Browse files
aniketpalucursoragent
authored andcommitted
fix: cast resolve_udf result to FunctionType for mypy
Signed-off-by: Aniket Paluskar <apaluska@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 45ad64a commit 708ff26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sdk/python/feast/transformation/python_transformation.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,6 @@ def from_proto(cls, user_defined_function_proto: UserDefinedFunctionProto):
170170
preferred_name=user_defined_function_proto.name or None,
171171
)
172172
return PythonTransformation(
173-
udf=udf,
173+
udf=cast(FunctionType, udf),
174174
udf_string=udf_string,
175175
)

0 commit comments

Comments
 (0)