Skip to content

Commit

Permalink
chore: use copy_on_model_validation="deep" in ICommand to avoid d…
Browse files Browse the repository at this point in the history
…eprecation warning
  • Loading branch information
laurent-laporte-pro authored and skamril committed May 14, 2024
1 parent aae515c commit 4f6da59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4f6da59

Please sign in to comment.