diff --git a/monkey/common/agent_configuration/agent_configuration.py b/monkey/common/agent_configuration/agent_configuration.py index 7b780096f..53271bbfe 100644 --- a/monkey/common/agent_configuration/agent_configuration.py +++ b/monkey/common/agent_configuration/agent_configuration.py @@ -12,7 +12,7 @@ from .agent_sub_configurations import ( class AgentConfiguration(MutableInfectionMonkeyBaseModel): - keep_tunnel_open_time: confloat(ge=0) + keep_tunnel_open_time: confloat(ge=0) # type: ignore[valid-type] custom_pbas: CustomPBAConfiguration post_breach_actions: Tuple[PluginConfiguration, ...] credential_collectors: Tuple[PluginConfiguration, ...] diff --git a/monkey/common/agent_configuration/agent_sub_configurations.py b/monkey/common/agent_configuration/agent_sub_configurations.py index 858dbc29f..1c23beecc 100644 --- a/monkey/common/agent_configuration/agent_sub_configurations.py +++ b/monkey/common/agent_configuration/agent_sub_configurations.py @@ -187,6 +187,6 @@ class PropagationConfiguration(MutableInfectionMonkeyBaseModel): :param exploitation: Configuration for exploitation """ - maximum_depth: conint(ge=0) + maximum_depth: conint(ge=0) # type: ignore[valid-type] network_scan: NetworkScanConfiguration exploitation: ExploitationConfiguration