Skip to content

Commit 7b600cb

Browse files
soooojinleeclaude
authored andcommitted
fix: Fix mypy type ignore comments for UUID collection conversions
Add [misc] error code to type: ignore comments in UUID list/set proto conversion to satisfy mypy's stricter checking. Signed-off-by: Soojin Lee <soooojin.lee@gmail.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: soojin <soojin@dable.io>
1 parent 3c07e12 commit 7b600cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/python/feast/type_map.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ def convert_set_to_list(value: Any) -> Any:
749749
return [
750750
(
751751
ProtoValue(
752-
**{set_field_name: set_proto_type(val=[str(e) for e in value])} # type: ignore[arg-type]
752+
**{set_field_name: set_proto_type(val=[str(e) for e in value])} # type: ignore[arg-type, misc]
753753
)
754754
if value is not None
755755
else ProtoValue()
@@ -822,7 +822,7 @@ def _convert_list_values_to_proto(
822822
return [
823823
(
824824
ProtoValue(
825-
**{field_name: proto_type(val=[str(e) for e in value])} # type: ignore[arg-type]
825+
**{field_name: proto_type(val=[str(e) for e in value])} # type: ignore[arg-type, misc]
826826
)
827827
if value is not None
828828
else ProtoValue()

0 commit comments

Comments
 (0)