Skip to content

Commit 4de14df

Browse files
authored
[types][shortfin_apps.flux] add annotation to result_image (#1055)
1 parent 3ad7abb commit 4de14df

File tree

1 file changed

+3
-1
lines changed
  • shortfin/python/shortfin_apps/flux/components

1 file changed

+3
-1
lines changed

shortfin/python/shortfin_apps/flux/components/messages.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
from enum import Enum
88

9+
from typing import Union
10+
911
import logging
1012

1113
import shortfin as sf
@@ -100,7 +102,7 @@ def __init__(
100102
# Postprocess.
101103
self.image_array = image_array
102104

103-
self.result_image = None
105+
self.result_image: Union[str | None] = None
104106

105107
self.done = sf.VoidFuture()
106108

0 commit comments

Comments
 (0)