Skip to content

Commit ea2e31f

Browse files
authored
(build) Update Appa Run version to 0.3.6 (#36)
1 parent 2228615 commit ea2e31f

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

appabuild/config/lca.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ def parse_param(param: dict) -> ImpactModelParam:
2323
:param param: dict containing the elements needed to build an ImpactModelParam.
2424
:return: constructed ImpactModelParam.
2525
"""
26+
if "default" not in param:
27+
raise PydanticCustomError(
28+
"key_error", "Missing field type for a parameter", {"field": "default"}
29+
)
2630
try:
2731
return ImpactModelParam.from_dict(param)
2832
except KeyError:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dependencies = [
4242
"kaleido",
4343
"tqdm",
4444
"ruamel.yaml",
45-
"apparun==0.3.5",
45+
"apparun==0.3.6",
4646
"typer==0.15.1",
4747
"ipython>=7.6.0,<=8.34.0",
4848
"mermaid-py==0.7.1"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ aenum
2020
kaleido
2121
tqdm
2222
ruamel.yaml
23-
apparun==0.3.5
23+
apparun==0.3.6
2424
ipython>=7.6.0,<=8.34.0
2525
pre-commit
2626
hatchling

0 commit comments

Comments
 (0)