Skip to content

Commit

Permalink
Workaround for pydantic/pydantic#1880
Browse files Browse the repository at this point in the history
  • Loading branch information
jolynch committed Mar 1, 2021
1 parent 8ada843 commit 23fe80a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service_capacity_modeling/interface.py
Expand Up @@ -41,6 +41,7 @@ class Interval(BaseModel):

class Config:
allow_mutation = False
frozen = True

@property
def can_simulate(self):
Expand Down

0 comments on commit 23fe80a

Please sign in to comment.