Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranciszkiewicz committed Jun 3, 2019
1 parent fa09fd4 commit 6e99473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions golem/docker/hypervisor/hyperv.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from pathlib import Path
import subprocess
import time
from typing import Any, ClassVar, Dict, Iterable, List, Optional
from typing import Any, ClassVar, Dict, Iterable, List, Optional, Union

from os_win.constants import HOST_SHUTDOWN_ACTION_SAVE, \
VM_SNAPSHOT_TYPE_DISABLED, HYPERV_VM_STATE_SUSPENDED, \
Expand Down Expand Up @@ -43,7 +43,7 @@ class events(Enum):
events.DISK: 'Not enough disk space. Creating VM with min memory',
}

EVENTS = {
EVENTS: Dict[events, Dict[str, Union[Optional[str], Dict]]] = {
events.SMB: {
'component': Component.hypervisor,
'method': 'setup',
Expand Down

0 comments on commit 6e99473

Please sign in to comment.