diff --git a/monkey/common/configuration/agent_configuration.py b/monkey/common/configuration/agent_configuration.py index 15b338fe0..a636e3d95 100644 --- a/monkey/common/configuration/agent_configuration.py +++ b/monkey/common/configuration/agent_configuration.py @@ -24,6 +24,10 @@ class AgentConfiguration: payloads: List[PluginConfiguration] propagation: PropagationConfiguration + @staticmethod + def from_dict(_dict: dict): + return AgentConfigurationSchema().load(_dict) + class AgentConfigurationSchema(Schema): keep_tunnel_open_time = fields.Float()