BB: Remove unused parameter in get_serialized_config() in IslandConfigParser

This commit is contained in:
Shreya Malviya 2022-07-21 12:06:45 +05:30 committed by Mike Salvatore
parent 6bda56f30c
commit c509b1390a
1 changed files with 1 additions and 4 deletions

View File

@ -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