Skip to content

Commit

Permalink
Stringify WhichOneof to make mypy happy (feast-dev#1705)
Browse files Browse the repository at this point in the history
Signed-off-by: Achal Shah <achals@gmail.com>
Signed-off-by: CS <2498638+charliec443@users.noreply.github.com>
  • Loading branch information
achals authored and 8bit-pixies committed Jul 16, 2021
1 parent 0a4b2f6 commit c047186
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 c047186

Please sign in to comment.