From 0f495791485c4b16c2a6d109de33b8b1d1f3d1d5 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Mon, 24 May 2021 11:34:55 +0300 Subject: [PATCH] Added typehints to IslandConfigOptions --- monkey/monkey_island/setup/island_config_options.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/monkey/monkey_island/setup/island_config_options.py b/monkey/monkey_island/setup/island_config_options.py index ce4a96f7b..134630178 100644 --- a/monkey/monkey_island/setup/island_config_options.py +++ b/monkey/monkey_island/setup/island_config_options.py @@ -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: