From e2f365a1f9c8031b505577d9c15f4508c9397f72 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Fri, 24 Jun 2022 13:22:41 -0400 Subject: [PATCH] Common: Rename dict_ -> config_dict --- monkey/common/configuration/agent_configuration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/common/configuration/agent_configuration.py b/monkey/common/configuration/agent_configuration.py index 87ccce3b0..e3d039ecc 100644 --- a/monkey/common/configuration/agent_configuration.py +++ b/monkey/common/configuration/agent_configuration.py @@ -45,9 +45,9 @@ class AgentConfiguration: raise InvalidConfigurationError(f"{INVALID_CONFIGURATION_ERROR_MESSAGE}: {err}") @staticmethod - def from_dict(dict_: dict): + def from_dict(config_dict: dict): try: - config_dict = AgentConfigurationSchema().load(dict_) + config_dict = AgentConfigurationSchema().load(config_dict) return AgentConfiguration(**config_dict) except MarshmallowError as err: raise InvalidConfigurationError(f"{INVALID_CONFIGURATION_ERROR_MESSAGE}: {err}")