fix models import not used

This commit is contained in:
Cayo Puigdefabregas 2022-03-29 17:09:40 +02:00
parent 94fd4ef21c
commit 1c74e27fd2
1 changed files with 4 additions and 11 deletions

View File

@ -1,21 +1,15 @@
from datetime import datetime, timezone from datetime import datetime, timezone
from distutils.version import StrictVersion
from enum import Enum, unique from enum import Enum, unique
from typing import List, Optional from typing import List
from uuid import UUID
import inflection from ereuse_workbench.computer import Component, Computer, DataStorage
from ereuse_utils import cli
from ereuse_utils.cli import Line
from ereuse_utils.session import DevicehubClient
from ereuse_workbench.computer import Component, Computer, DataStorage, SoundCard
from ereuse_workbench.utils import Dumpeable from ereuse_workbench.utils import Dumpeable
@unique @unique
class SnapshotSoftware(Enum): class SnapshotSoftware(Enum):
"""The algorithm_software used to perform the Snapshot.""" """The algorithm_software used to perform the Snapshot."""
Workbench = 'Workbench' Workbench = 'Workbench'
AndroidApp = 'AndroidApp' AndroidApp = 'AndroidApp'
Web = 'Web' Web = 'Web'
@ -51,6 +45,5 @@ class Snapshot(Dumpeable):
self._storages = tuple(c for c in self.components if isinstance(c, DataStorage)) self._storages = tuple(c for c in self.components if isinstance(c, DataStorage))
def close(self): def close(self):
"""Closes the Snapshot """Closes the Snapshot"""
"""
self.closed = True self.closed = True