diff --git a/src/askem_beaker/contexts/mira_config_edit/context.py b/src/askem_beaker/contexts/mira_config_edit/context.py index 0f03b04..a95a13b 100644 --- a/src/askem_beaker/contexts/mira_config_edit/context.py +++ b/src/askem_beaker/contexts/mira_config_edit/context.py @@ -40,8 +40,8 @@ def reset(self): async def setup(self, context_info, parent_header): logger.error(f"performing setup...") self.config["context_info"] = context_info - item_id = config["context_info"]["id"] - item_type = config["context_info"].get("type", "model_config") + item_id = self.config["context_info"]["id"] + item_type = self.config["context_info"].get("type", "model_config") logger.error(f"Processing {item_type} AMR {item_id} as a MIRA model") await self.set_model_config( item_id, item_type, parent_header=parent_header