Improved project structure

This commit is contained in:
2020-11-26 10:45:02 +01:00
parent ff2a7d9693
commit f2f797aaa3
30 changed files with 65 additions and 50 deletions

View File

@@ -0,0 +1,2 @@
# imports:
from .application_host_base import ApplicationHostBase

View File

@@ -0,0 +1,22 @@
from abc import ABC, abstractmethod
from datetime import datetime
class ApplicationHostBase(ABC):
@abstractmethod
def __init__(self): pass
@property
@abstractmethod
def start_time(self) -> datetime: pass
@start_time.setter
def start_time(self, start_time: datetime): pass
@property
@abstractmethod
def end_time(self): pass
@end_time.setter
def end_time(self, end_time: datetime): pass