forked from p34709852/monkey
Island: Use Simulation in ISimulationRepository
This commit is contained in:
parent
a3f3fd96f7
commit
8b10d81d48
|
@ -1,10 +1,10 @@
|
||||||
from abc import ABC
|
from abc import ABC
|
||||||
|
|
||||||
|
from monkey_island.cc.models import Simulation
|
||||||
|
|
||||||
|
|
||||||
class ISimulationRepository(ABC):
|
class ISimulationRepository(ABC):
|
||||||
# TODO define simulation object. It should contain metadata about simulation,
|
def save_simulation(self, simulation: Simulation):
|
||||||
# like start, end times, mode and last forced stop of all monkeys
|
|
||||||
def save_simulation(self, simulation: Simulation): # noqa: F821
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def get_simulation(self):
|
def get_simulation(self):
|
||||||
|
|
Loading…
Reference in New Issue