Skip to content

Commit

Permalink
re-add model_type_name alias def
Browse files Browse the repository at this point in the history
  • Loading branch information
aaraney committed Jul 24, 2023
1 parent 5af528d commit 1b533a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ngen_conf/src/ngen/config/multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class MultiBMI(BMIParams, smart_union=True):
# NOTE this is derived from the list of modules
main_output_variable: Optional[str]
#NOTE aliases don't propagate to subclasses, so we have to repeat the alias
model_name: str
model_name: str = Field(alias="model_type_name")

#override const since these shouldn't be used for multi bmi, but are currently
#required to exist as keys for ngen
Expand Down

0 comments on commit 1b533a9

Please sign in to comment.