File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/simcore-sdk/src/simcore_sdk/node_ports_v2 Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -194,9 +194,10 @@ async def get_value(
194194 )
195195
196196 async def _evaluate () -> ItemValue | None :
197+ # NOTE: review types returned by this function !!!
197198 if isinstance (self .value , PortLink ):
198199 # this is a link to another node's port
199- other_port_itemvalue : None | ( ItemValue ) = (
200+ other_port_itemvalue : ItemValue | None = (
200201 await port_utils .get_value_link_from_port_link (
201202 self .value ,
202203 # pylint: disable=protected-access
@@ -209,7 +210,7 @@ async def _evaluate() -> ItemValue | None:
209210
210211 if isinstance (self .value , FileLink ):
211212 # let's get the download/upload link from storage
212- url_itemvalue : None | ( AnyUrl ) = (
213+ url_itemvalue : AnyUrl | None = (
213214 await port_utils .get_download_link_from_storage (
214215 # pylint: disable=protected-access
215216 user_id = self ._node_ports .user_id ,
You can’t perform that action at this time.
0 commit comments