Skip to content

Commit

Permalink
Fix class variable typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mattprintz committed Feb 29, 2024
1 parent ec1ea8a commit e4314bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/askem_beaker/contexts/mira_model/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class MiraModelContext(BaseContext):
model_json: Optional[str]
model_dict: Optional[dict[str, Any]]
var_name: Optional[str] = "model"
scheme_name: Optional[str] = "petrinet"
schema_name: Optional[str] = "petrinet"

def __init__(self, beaker_kernel: "LLMKernel", subkernel: "BaseSubkernel", config: Dict[str, Any]) -> None:
self.reset()
Expand Down Expand Up @@ -146,7 +146,7 @@ async def save_amr_request(self, message):
unloader = f"template_model_to_stockflow_json({self.var_name})"
else:
unloader = f"template_model_to_petrinet_json({self.var_name})"

new_model: dict = (
await self.evaluate(unloader)
)["return"]
Expand Down

0 comments on commit e4314bc

Please sign in to comment.