Skip to content

Commit

Permalink
FIX: docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
martins0n committed Jun 7, 2022
1 parent 7f919b8 commit 16d4721
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions etna/models/nn/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@


class _DeepCopyMixin:
"""Mixin for `__deepcopy__` behaviour overriding."""

def __deepcopy__(self, memo):
"""Drop `model` and `trainer` attributes while deepcopy."""
cls = self.__class__
obj = cls.__new__(cls)
memo[id(self)] = obj
Expand Down

0 comments on commit 16d4721

Please sign in to comment.