Common: Make InfectionMonkeyModelConfig immutable
This commit is contained in:
parent
3a94be8766
commit
fc14a1f573
|
@ -5,6 +5,7 @@ from pydantic import BaseModel, Extra, ValidationError
|
||||||
|
|
||||||
|
|
||||||
class InfectionMonkeyModelConfig:
|
class InfectionMonkeyModelConfig:
|
||||||
|
allow_mutation = False
|
||||||
underscore_attrs_are_private = True
|
underscore_attrs_are_private = True
|
||||||
extra = Extra.forbid
|
extra = Extra.forbid
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue