diff --git a/antarest/study/storage/variantstudy/model/command/icommand.py b/antarest/study/storage/variantstudy/model/command/icommand.py index 72eb6bfa02..1c5c704320 100644 --- a/antarest/study/storage/variantstudy/model/command/icommand.py +++ b/antarest/study/storage/variantstudy/model/command/icommand.py @@ -19,7 +19,7 @@ logger = logging.getLogger(__name__) -class ICommand(ABC, BaseModel, extra=Extra.forbid, arbitrary_types_allowed=True): +class ICommand(ABC, BaseModel, extra=Extra.forbid, arbitrary_types_allowed=True, copy_on_model_validation="deep"): """ Interface for all commands that can be applied to a study.