Skip to content

Commit 67670a1

Browse files
committed
fix ci
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
1 parent b2ea289 commit 67670a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

monai/bundle/workflows.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ def __init__(
7878
self.properties = json.load(json_file)
7979
self.workflow_type = None
8080
return
81-
if workflow_type.lower() in self.supported_train_type:
81+
if workflow_type.lower() in self.supported_train_type: # type: ignore[union-attr]
8282
self.properties = {**TrainProperties, **MetaProperties}
8383
self.workflow_type = "train"
84-
elif workflow_type.lower() in self.supported_infer_type:
84+
elif workflow_type.lower() in self.supported_infer_type: # type: ignore[union-attr]
8585
self.properties = {**InferProperties, **MetaProperties}
8686
self.workflow_type = "infer"
8787
else:

0 commit comments

Comments
 (0)