forked from p34709852/monkey
Added typehints to IslandConfigOptions
This commit is contained in:
parent
66b3fb1d47
commit
0f49579148
|
@ -11,9 +11,9 @@ from monkey_island.cc.server_utils.consts import (
|
|||
|
||||
@dataclass
|
||||
class IslandConfigOptions:
|
||||
log_level = DEFAULT_LOG_LEVEL
|
||||
data_dir = DEFAULT_DATA_DIR
|
||||
start_mongodb = DEFAULT_START_MONGO_DB
|
||||
log_level: str = DEFAULT_LOG_LEVEL
|
||||
data_dir: str = DEFAULT_DATA_DIR
|
||||
start_mongodb: bool = DEFAULT_START_MONGO_DB
|
||||
|
||||
@staticmethod
|
||||
def build_from_config_file_contents(config_contents: dict) -> IslandConfigOptions:
|
||||
|
|
Loading…
Reference in New Issue