Common: Rename dict_ -> config_dict

This commit is contained in:
Mike Salvatore 2022-06-24 13:22:41 -04:00
parent dbd0d3e0dd
commit e2f365a1f9
1 changed files with 2 additions and 2 deletions

View File

@ -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}")