Skip to content

Commit

Permalink
make cfe and topmod params Optional
Browse files Browse the repository at this point in the history
  • Loading branch information
hellkite500 committed Jun 28, 2022
1 parent 944627b commit 804c200
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/ngen_conf/src/ngen/config/cfe.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class CFEParams(BaseModel):
class CFE(BMIC):
"""A BMIC implementation for the CFE ngen module
"""
model_params: CFEParams = {}
model_params: Optional[CFEParams]
main_output_variable: str = 'Q_OUT'
registration_function: str = "register_bmi_cfe"
#NOTE aliases don't propagate to subclasses, so we have to repeat the alias
Expand Down
2 changes: 1 addition & 1 deletion python/ngen_conf/src/ngen/config/topmod.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class TopmodParams(BaseModel):
class Topmod(BMIC):
"""A BMIC implementation for the Topmod ngen module
"""
model_params: TopmodParams = {}
model_params: Optional[TopmodParams]
main_output_variable: str = 'Qout'
registration_function: str = "register_bmi_topmodel"
#NOTE aliases don't propagate to subclasses, so we have to repeat the alias
Expand Down

0 comments on commit 804c200

Please sign in to comment.