Skip to content

Commit

Permalink
Stringify WhichOneof to make mypy happy (#1705)
Browse files Browse the repository at this point in the history
Signed-off-by: Achal Shah <achals@gmail.com>
  • Loading branch information
achals authored Jul 12, 2021
1 parent b3c0cce commit 0d2179d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/feast/type_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def python_type_to_feast_value_type(
for item in list_items:
if isinstance(item, ProtoValue):
current_item_value_type = _proto_str_to_value_type(
item.WhichOneof("val")
str(item.WhichOneof("val"))
)
else:
# Get the type from the current item, only one level deep
Expand Down

0 comments on commit 0d2179d

Please sign in to comment.