Common: Make InfectionMonkeyModelConfig immutable

This commit is contained in:
Mike Salvatore 2022-08-22 11:34:31 -04:00
parent 3a94be8766
commit fc14a1f573
1 changed files with 1 additions and 0 deletions

View File

@ -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