Skip to content

Commit 6e17017

Browse files
authored
Merge pull request #32 from ExpediaGroup/tipike/bugfix
use replace instead of strip
2 parents 24ffa98 + dede96b commit 6e17017

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdk/python/feast/expediagroup/vectordb/milvus_online_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def _create_index_params(self, tags: Dict[str, str], data_type: DataType):
384384
(Dict): a dictionary formatted for the create_index params argument
385385
"""
386386
valid_indexes = IndexType._member_map_
387-
index_type_tag = tags.get("index_type", "").upper().strip("BIN_")
387+
index_type_tag = tags.get("index_type", "").upper().replace("BIN_", "")
388388

389389
index_type = (
390390
IndexType[index_type_tag]

0 commit comments

Comments
 (0)