Skip to content

Commit

Permalink
Quiet mypy complaint
Browse files Browse the repository at this point in the history
Signed-off-by: M Q <[email protected]>
  • Loading branch information
MMelQin committed Jul 19, 2023
1 parent fdf8606 commit c81fcb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monai/deploy/core/app_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(self, args: Dict[str, str], runtime_env: Optional[RuntimeEnv] = Non
self.runtime_env = runtime_env or RuntimeEnv()

self._model_loaded = False # If it has tried to load the models.
self.model_path = None # To be set next.
self.model_path = "" # To be set next.

Check warning on line 30 in monai/deploy/core/app_context.py

View check run for this annotation

Codecov / codecov/patch

monai/deploy/core/app_context.py#L29-L30

Added lines #L29 - L30 were not covered by tests
self.update(args)

def update(self, args: Dict[str, str]):
Expand Down

0 comments on commit c81fcb0

Please sign in to comment.