Skip to content

Commit

Permalink
Add back ValueType.UNIX_TIMESTAMP_LIST in PYTHON_LIST_VALUE_TYPE_TO_P…
Browse files Browse the repository at this point in the history
…ROTO_VALUE

Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>
  • Loading branch information
Tsotne Tabidze committed Dec 15, 2021
1 parent 2e412e6 commit 05f1c67
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdk/python/feast/type_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,11 @@ def _type_err(item, dtype):
),
ValueType.INT32_LIST: (Int32List, "int32_list_val", [np.int32, int]),
ValueType.INT64_LIST: (Int64List, "int64_list_val", [np.int64, np.int32, int]),
ValueType.UNIX_TIMESTAMP_LIST: (
Int64List,
"int64_list_val",
[np.int64, np.int32, int],
),
ValueType.STRING_LIST: (StringList, "string_list_val", [np.str_, str]),
ValueType.BOOL_LIST: (BoolList, "bool_list_val", [np.bool_, bool]),
ValueType.BYTES_LIST: (BytesList, "bytes_list_val", [np.bytes_, bytes]),
Expand Down

0 comments on commit 05f1c67

Please sign in to comment.