Skip to content

Commit

Permalink
Fix typo in Formulation, params, field constrains. fixes NOAA-OWP#32.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaraney committed Jul 24, 2023
1 parent ed6e62b commit e3c93ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ngen_conf/src/ngen/config/formulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Formulation(BaseModel, smart_union=True):
"""
#TODO make this an enum?
name: str
params: "KnownFormulations" = Field(descriminator="model_name")
params: "KnownFormulations" = Field(discriminator="model_name")

def resolve_paths(self, relative_to: 'Optional[Path]'=None):
self.params.resolve_paths(relative_to)
Expand Down

0 comments on commit e3c93ae

Please sign in to comment.