Skip to content

Commit

Permalink
remove missed const
Browse files Browse the repository at this point in the history
  • Loading branch information
hmacdope committed Sep 30, 2024
1 parent 5808453 commit 71ede46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mtenn/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ class ModelConfigBase(BaseModel):
to implement the ``_build`` method in order to be used.
"""

model_type: ModelType = Field(ModelType.INVALID, const=True, frozen=True)
model_type: Literal[ModelType.INVALID] = ModelType.INVALID


# Random seed optional for reproducibility
rand_seed: int | None = Field(
Expand Down

0 comments on commit 71ede46

Please sign in to comment.