Skip to content

Commit 3e12c85

Browse files
committed
Fix pytype complaint, details below
File "/home/runner/work/monai-deploy-app-sdk/monai-deploy-app-sdk/monai/deploy/core/app_context.py", line 49, in update: Type annotation for models does not match type of assignment [annotation-type-mismatch] Annotation: monai.deploy.core.models.model.Model (Did you mean 'typing.Optional[monai.deploy.core.models.model.Model]'?) Assignment: None In assignment of type: Optional[monai.deploy.core.models.model.Model] Signed-off-by: M Q <mingmelvinq@nvidia.com>
1 parent 9fb7de6 commit 3e12c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/deploy/core/app_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from os.path import abspath
1313
from typing import Dict, Optional
1414

15-
from .models import Model, ModelFactory
15+
from .models.model import Model, ModelFactory
1616
from .runtime_env import RuntimeEnv
1717

1818

0 commit comments

Comments
 (0)