BB: Remove unused parameter in get_serialized_config() in IslandConfigParser
This commit is contained in:
parent
6bda56f30c
commit
c509b1390a
|
@ -5,14 +5,11 @@ from typing_extensions import Type
|
||||||
|
|
||||||
from common.configuration.agent_configuration import AgentConfiguration
|
from common.configuration.agent_configuration import AgentConfiguration
|
||||||
from envs.monkey_zoo.blackbox.config_templates.config_template import ConfigTemplate
|
from envs.monkey_zoo.blackbox.config_templates.config_template import ConfigTemplate
|
||||||
from envs.monkey_zoo.blackbox.island_client.monkey_island_client import MonkeyIslandClient
|
|
||||||
|
|
||||||
|
|
||||||
class IslandConfigParser:
|
class IslandConfigParser:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_serialized_config(
|
def get_serialized_config(agent_configuration: AgentConfiguration) -> str:
|
||||||
agent_configuration: AgentConfiguration, island_client: MonkeyIslandClient
|
|
||||||
) -> str:
|
|
||||||
return agent_configuration.to_json()
|
return agent_configuration.to_json()
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in New Issue