Skip to content

Commit

Permalink
Remove unnecessary ignore
Browse files Browse the repository at this point in the history
Signed-off-by: DarkLight1337 <[email protected]>
  • Loading branch information
DarkLight1337 committed Nov 20, 2024
1 parent 47d3dcc commit 1d13132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/multimodal/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def apply(
if placeholders is not None:
modality_placeholders.append(placeholders)

mm_placeholders[modality] = modality_placeholders # type: ignore[index] # yapf: disable
mm_placeholders[modality] = modality_placeholders

Check failure on line 306 in vllm/multimodal/processing.py

View workflow job for this annotation

GitHub Actions / mypy (3.9)

Unsupported target for indexed assignment ("Mapping[str, list[PlaceholderRange]]") [index]

Check failure on line 306 in vllm/multimodal/processing.py

View workflow job for this annotation

GitHub Actions / mypy (3.10)

Unsupported target for indexed assignment ("Mapping[str, list[PlaceholderRange]]") [index]

Check failure on line 306 in vllm/multimodal/processing.py

View workflow job for this annotation

GitHub Actions / mypy (3.11)

Unsupported target for indexed assignment ("Mapping[str, list[PlaceholderRange]]") [index]

Check failure on line 306 in vllm/multimodal/processing.py

View workflow job for this annotation

GitHub Actions / mypy (3.12)

Unsupported target for indexed assignment ("Mapping[str, list[PlaceholderRange]]") [index]

return MultiModalInputsV2(
type="multimodal",
Expand Down

0 comments on commit 1d13132

Please sign in to comment.