Skip to content

Commit 0d2179d

Browse files
authored
Stringify WhichOneof to make mypy happy (feast-dev#1705)
Signed-off-by: Achal Shah <achals@gmail.com>
1 parent b3c0cce commit 0d2179d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdk/python/feast/type_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def python_type_to_feast_value_type(
128128
for item in list_items:
129129
if isinstance(item, ProtoValue):
130130
current_item_value_type = _proto_str_to_value_type(
131-
item.WhichOneof("val")
131+
str(item.WhichOneof("val"))
132132
)
133133
else:
134134
# Get the type from the current item, only one level deep

0 commit comments

Comments
 (0)